mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fixing contributing scripts
This commit is contained in:
5
api.sh
Executable file
5
api.sh
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
set -ex
|
||||||
|
|
||||||
|
./build.sh
|
||||||
|
|
||||||
|
docker run --rm --privileged -it -p 8080:8080 -e LOG_LEVEL=debug -v $PWD/bolt.db:/app/bolt.db iron/functions
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
set -ex
|
|
||||||
|
|
||||||
docker run --rm -v "$PWD":/go/src/github.com/iron-io/functions -w /go/src/github.com/iron-io/functions iron/go:dev sh -c 'go build -o functions'
|
|
||||||
docker build -t iron/functions:latest .
|
|
||||||
docker run --rm -it -p 8080:8080 -e LOG_LEVEL=debug -v $PWD/bolt.db:/app/bolt.db iron/functions
|
|
||||||
@@ -15,8 +15,7 @@ perl -i -pe 's/\d+\.\d+\.\K(\d+)/$1+1/e' $version_file
|
|||||||
version=$(grep -m1 -Eo "[0-9]+\.[0-9]+\.[0-9]+" $version_file)
|
version=$(grep -m1 -Eo "[0-9]+\.[0-9]+\.[0-9]+" $version_file)
|
||||||
echo "Version: $version"
|
echo "Version: $version"
|
||||||
|
|
||||||
docker run --rm -v "$PWD":/go/src/github.com/iron-io/functions -w /go/src/github.com/iron-io/functions iron/go:dev sh -c 'go build -o functions'
|
./build.sh
|
||||||
docker build -t iron/functions:latest .
|
|
||||||
|
|
||||||
git add -u
|
git add -u
|
||||||
git commit -m "$service: $version release"
|
git commit -m "$service: $version release"
|
||||||
Reference in New Issue
Block a user