Skip to content

Commit

Permalink
✅ Fixed release numbering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 5, 2022
1 parent ee8f914 commit 2418fbe
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,13 @@ jobs:
target/jreleaser/trace.log
target/jreleaser/output.properties
- name: 'Set next version'
env:
NEXT_VERSION: ${{ steps.version.outputs.NEXT_VERSION }}
run: |
./mvnw -B versions:set versions:commit -DnewVersion=$NEXT_VERSION
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Action"
git commit -a -m "⬆️ Next version $NEXT_VERSION"
git push origin HEAD:master
echo "removed: origin HEAD:master"
# - name: 'Set next version'
# env:
# NEXT_VERSION: ${{ steps.version.outputs.NEXT_VERSION }}
# run: |
# ./mvnw -B versions:set versions:commit -DnewVersion=$NEXT_VERSION
# git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
# git config --global user.name "GitHub Action"
# git commit -a -m "⬆️ Next version $NEXT_VERSION"
# git push origin HEAD:master
# echo "removed: origin HEAD:master"

0 comments on commit 2418fbe

Please sign in to comment.