Add property

This commit is contained in:
2019-08-13 22:19:03 +02:00
parent c6d977babe
commit 313c9fa696

View File

@@ -13,6 +13,9 @@ function setVersion()
src/main/ts/src/environments/environment.prod.ts src/main/ts/src/environments/environment.prod.ts
} }
BRANCH_NAME=do-release
cd ../../..
echo 'Retreive the project version...' echo 'Retreive the project version...'
VERSION=$(mvn -q \ VERSION=$(mvn -q \
-Dexec.executable="echo" \ -Dexec.executable="echo" \
@@ -49,11 +52,11 @@ echo 'Git commit and push'
cd ../minager-properties cd ../minager-properties
git add application-prod.yml git add application-prod.yml
git commit -m "Set version for next iteration: $NEXT_VERSION" git commit -m "Set version for next iteration: $NEXT_VERSION"
git push origin master git push origin $BRANCH_NAME
cd - cd -
# Minager # Minager
git add pom.xml git add pom.xml
git add src/main/ts/src/environments/environment.prod.ts git add src/main/ts/src/environments/environment.prod.ts
git commit -m "Set version for next iteration: $NEXT_VERSION" git commit -m "Set version for next iteration: $NEXT_VERSION"
git push origin master git push origin $BRANCH_NAME