diff options
Diffstat (limited to 'dist/release-vespa-rpm.sh')
-rwxr-xr-x | dist/release-vespa-rpm.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/release-vespa-rpm.sh b/dist/release-vespa-rpm.sh index c21550215f0..d2384c21b4e 100755 --- a/dist/release-vespa-rpm.sh +++ b/dist/release-vespa-rpm.sh @@ -19,6 +19,11 @@ readonly CURRENT_BRANCH=$(git branch | grep "^\*" | cut -d' ' -f2) git checkout master git pull --rebase +# Update the VERSION file on master to be the next releasable version +echo "$VERSION" | awk -F. '{print $1"."($2+1)".0"}' > VERSION +git commit -am "Updating VERSION file to next releasable minor version." +git push + # Delete existing branch if exists and create new one git push --delete origin $RPM_BRANCH &> /dev/null || true git branch -D $RPM_BRANCH &> /dev/null || true |