Skip to content

Commit

Permalink
Avoid double patch-bump
Browse files Browse the repository at this point in the history
  • Loading branch information
dagguh committed Jun 13, 2024
1 parent db12b6f commit 7b9b98f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ jobs:
atlassian_private_username: ${{ steps.publish-token.outputs.artifactoryUsername }}
atlassian_private_password: ${{ steps.publish-token.outputs.artifactoryApiKey }}
run: |
./gradlew markNextVersion -Prelease.incrementer=increment${{ github.event.inputs.release }} -Prelease.localOnly
./gradlew release -Prelease.customUsername=${{ github.actor }} -Prelease.customPassword=${{ github.token }}
./gradlew release \
-Prelease.customUsername=${{ github.actor }} \
-Prelease.customPassword=${{ github.token }} \
-Prelease.incrementer=increment${{ github.event.inputs.release }}
./gradlew publish

0 comments on commit 7b9b98f

Please sign in to comment.