Skip to content

Commit

Permalink
Version bumps must be done with -pl :moditect-parent
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Mar 7, 2023
1 parent 5becd9e commit 29c42b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -59,7 +59,7 @@ jobs:
then
NEXT_VERSION=$COMPUTED_NEXT_VERSION
fi
./mvnw -ntp -B versions:set versions:commit -DnewVersion=$RELEASE_VERSION
./mvnw -ntp -B versions:set versions:commit -DnewVersion=$RELEASE_VERSION -pl :moditect-parent
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 Expand Up @@ -122,7 +122,7 @@ jobs:
env:
NEXT_VERSION: ${{ needs.version.outputs.NEXT_VERSION }}
run: |
./mvnw -ntp -B versions:set versions:commit -DnewVersion=$NEXT_VERSION
./mvnw -ntp -B versions:set versions:commit -DnewVersion=$NEXT_VERSION -pl :moditect-parent
git config --global user.email "moditect-release-bot@moditect.org"
git config --global user.name "moditect-release-bot"
git commit -a -m "Next version $NEXT_VERSION"
Expand Down

0 comments on commit 29c42b1

Please sign in to comment.