diff --git a/src/main/bash/do-release.bash b/src/main/bash/do-release.bash index 45c1cc6..f788aa1 100644 --- a/src/main/bash/do-release.bash +++ b/src/main/bash/do-release.bash @@ -6,7 +6,7 @@ function setVersion() echo 'Update properties file' sed -i -z -E "s/minager:\n version: ([0-9]+(\.[0-9]+){2}(-SNAPSHOT)?)/minager:\n version: $1/" \ - minager-properties/application-prod.yml + ../minager-properties/application-prod.yml echo 'Update Angular app version' sed -i -E "s/appVersion: '([0-9]+(\.[0-9]+){2}(-SNAPSHOT)?)'/appVersion: $1/" \ @@ -37,7 +37,7 @@ setVersion $RELEASE_VERSION echo 'Git tag for release freezing' git tag $RELEASE_VERSION -cd minager-properties || exit 1 +cd ../minager-properties || exit 1 git tag $RELEASE_VERSION || exit 1 cd .. || exit 1 @@ -46,11 +46,11 @@ setVersion $NEXT_VERSION echo 'Git commit and push' # Minager-properties -cd minager-properties +cd ../minager-properties git add application-prod.yml git commit -m "Set version for next iteration: $NEXT_VERSION" git push origin master -cd .. +cd - # Minager git add pom.xml