From fde51cff62fe3b38f5e9d9908db7cd65640e1002 Mon Sep 17 00:00:00 2001 From: takiguchi Date: Tue, 13 Aug 2019 22:20:30 +0200 Subject: [PATCH] Test --- src/main/bash/do-release.bash | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/bash/do-release.bash b/src/main/bash/do-release.bash index f2be576..877a56c 100755 --- a/src/main/bash/do-release.bash +++ b/src/main/bash/do-release.bash @@ -42,18 +42,18 @@ echo 'Git tag for release freezing' git tag $RELEASE_VERSION cd ../minager-properties || exit 1 git tag $RELEASE_VERSION || exit 1 -cd .. || exit 1 +cd - || exit 1 echo 'Change files to next version' setVersion $NEXT_VERSION echo 'Git commit and push' # Minager-properties -cd ../minager-properties -git add application-prod.yml -git commit -m "Set version for next iteration: $NEXT_VERSION" -git push origin $BRANCH_NAME -cd - +cd ../minager-properties || exit 1 +git add application-prod.yml || exit 1 +git commit -m "Set version for next iteration: $NEXT_VERSION" || exit 1 +git push origin $BRANCH_NAME || exit 1 +cd - || exit 1 # Minager git add pom.xml