From 313c9fa696bb5c5a563db3f5d8e097f8507b9b43 Mon Sep 17 00:00:00 2001 From: takiguchi Date: Tue, 13 Aug 2019 22:19:03 +0200 Subject: [PATCH] Add property --- src/main/bash/do-release.bash | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/bash/do-release.bash b/src/main/bash/do-release.bash index f788aa1..f2be576 100755 --- a/src/main/bash/do-release.bash +++ b/src/main/bash/do-release.bash @@ -13,6 +13,9 @@ function setVersion() src/main/ts/src/environments/environment.prod.ts } +BRANCH_NAME=do-release +cd ../../.. + echo 'Retreive the project version...' VERSION=$(mvn -q \ -Dexec.executable="echo" \ @@ -49,11 +52,11 @@ echo 'Git commit and push' cd ../minager-properties git add application-prod.yml git commit -m "Set version for next iteration: $NEXT_VERSION" -git push origin master +git push origin $BRANCH_NAME cd - # Minager git add pom.xml git add src/main/ts/src/environments/environment.prod.ts git commit -m "Set version for next iteration: $NEXT_VERSION" -git push origin master \ No newline at end of file +git push origin $BRANCH_NAME \ No newline at end of file