mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
functions: 0.0.26 release
This commit is contained in:
@@ -6,8 +6,6 @@ service="functions"
|
|||||||
version_file="version.go"
|
version_file="version.go"
|
||||||
tag="latest"
|
tag="latest"
|
||||||
|
|
||||||
./build.sh
|
|
||||||
|
|
||||||
if [ -z $(grep -m1 -Eo "[0-9]+\.[0-9]+\.[0-9]+" $version_file) ]; then
|
if [ -z $(grep -m1 -Eo "[0-9]+\.[0-9]+\.[0-9]+" $version_file) ]; then
|
||||||
echo "did not find semantic version in $version_file"
|
echo "did not find semantic version in $version_file"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -16,6 +14,9 @@ fi
|
|||||||
perl -i -pe 's/\d+\.\d+\.\K(\d+)/$1+1/e' $version_file
|
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"
|
||||||
|
|
||||||
|
./build.sh
|
||||||
|
|
||||||
git add -u
|
git add -u
|
||||||
git commit -m "$service: $version release"
|
git commit -m "$service: $version release"
|
||||||
git tag -a "$version" -m "version $version"
|
git tag -a "$version" -m "version $version"
|
||||||
|
|||||||
Reference in New Issue
Block a user