Test with new version.
This commit is contained in:
@@ -6,7 +6,7 @@ function setVersion()
|
|||||||
|
|
||||||
echo 'Update properties file'
|
echo 'Update properties file'
|
||||||
sed -i -z -E "s/minager:\n version: ([0-9]+(\.[0-9]+){2}(-SNAPSHOT)?)/minager:\n version: $1/" \
|
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'
|
echo 'Update Angular app version'
|
||||||
sed -i -E "s/appVersion: '([0-9]+(\.[0-9]+){2}(-SNAPSHOT)?)'/appVersion: $1/" \
|
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'
|
echo 'Git tag for release freezing'
|
||||||
git tag $RELEASE_VERSION
|
git tag $RELEASE_VERSION
|
||||||
cd minager-properties || exit 1
|
cd ../minager-properties || exit 1
|
||||||
git tag $RELEASE_VERSION || exit 1
|
git tag $RELEASE_VERSION || exit 1
|
||||||
cd .. || exit 1
|
cd .. || exit 1
|
||||||
|
|
||||||
@@ -46,11 +46,11 @@ setVersion $NEXT_VERSION
|
|||||||
|
|
||||||
echo 'Git commit and push'
|
echo 'Git commit and push'
|
||||||
# Minager-properties
|
# Minager-properties
|
||||||
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 master
|
||||||
cd ..
|
cd -
|
||||||
|
|
||||||
# Minager
|
# Minager
|
||||||
git add pom.xml
|
git add pom.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user