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