Release script updates

This commit is contained in:
Soby Chacko
2020-06-25 19:52:13 -04:00
parent d9851cac3a
commit b8e1ddabe2
4 changed files with 12 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ fi
pushd ../..
VERSION=$1
./mvnw -f applications/processor versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false
./mvnw -f applications/processor versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false -DupdateMatchingVersions=false
./mvnw -f applications/processor versions:update-parent -DparentVersion=$2 -Pspring -DgenerateBackupPoms=false
if [[ $VERSION =~ M[0-9]|RC[0-9] ]]; then

View File

@@ -5,16 +5,17 @@ if [ "$#" -ne 2 ]; then
exit
fi
VERSION=$1
function git_commit_push {
echo "in git commit"
git commit -am"Processor Applications: Release - $1"
git push origin master
git commit -am"Processor Applications: Release - $VERSION"
git push origin master && git push upstream master
}
pushd ../..
VERSION=$1
./mvnw -f applications/processor versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false
./mvnw -f applications/processor versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false -DupdateMatchingVersions=false
./mvnw -f applications/processor versions:update-parent -DparentVersion=$2 -Pspring -DgenerateBackupPoms=false
if [[ $VERSION =~ M[0-9]|RC[0-9] ]]; then

View File

@@ -8,7 +8,7 @@ fi
pushd ../..
VERSION=$1
./mvnw -f applications/sink versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false
./mvnw -f applications/sink versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false -DupdateMatchingVersions=false
./mvnw -f applications/sink versions:update-parent -DparentVersion=$2 -Pspring -DgenerateBackupPoms=false
if [[ $VERSION =~ M[0-9]|RC[0-9] ]]; then

View File

@@ -5,16 +5,17 @@ if [ "$#" -ne 2 ]; then
exit
fi
VERSION=$1
function git_commit_push {
echo "in git commit"
git commit -am"Sink Applications: Release - $1"
git push origin master
git commit -am"Sink Applications: Release - $VERSION"
git push origin master && git push upstream master
}
pushd ../..
VERSION=$1
./mvnw -f applications/sink versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false
./mvnw -f applications/sink versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false -DupdateMatchingVersions=false
./mvnw -f applications/sink versions:update-parent -DparentVersion=$2 -Pspring -DgenerateBackupPoms=false
if [[ $VERSION =~ M[0-9]|RC[0-9] ]]; then