Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update trigger workflow with version handling #152

Merged
merged 2 commits into from
Oct 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ jobs:
VERSION=${{ github.event.inputs.version }}
echo "Releasing $VERSION from $BRANCH branch"
git checkout $BRANCH
./mvnw -B versions:set versions:commit -DnewVersion=1.0.0.RC2 -Dversion.versions.plugin=2.7 -DgenerateBackupPoms=false -f parent/pom.xml
./mvnw -B versions:set -DnewVersion=$VERSION -f parent/pom.xml -pl :moditect-parent -Dversion.versions.plugin=2.7 -DgenerateBackupPoms=false
./mvnw -B versions:update-child-modules
./mvnw -B versions:commit
git config --global user.email "moditect-release-bot@moditect.org"
git config --global user.name "moditect-release-bot"
git commit -a -m "Releasing version $VERSION"
Expand Down