Skip to content

Commit

Permalink
Using Versions plug-in 2.7 to address compatibility issue;
Browse files Browse the repository at this point in the history
See mojohaus/versions#427, the parent POM in a sub-dir causes issues with 2.8.1.
  • Loading branch information
gunnarmorling committed Oct 4, 2021
1 parent 30e9769 commit 5b62329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trigger.yml
Expand Up @@ -84,7 +84,7 @@ jobs:
VERSION=${{ github.event.inputs.version }}
echo "Releasing $VERSION from $BRANCH branch"
git checkout $BRANCH
./mvnw -B versions:set versions:commit -DnewVersion=$VERSION
./mvnw -B versions:set versions:commit -DnewVersion=1.0.0.RC2 -Dversion.versions.plugin=2.7 -DgenerateBackupPoms=false -f parent/pom.xml
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

0 comments on commit 5b62329

Please sign in to comment.