Skip to content

Commit

Permalink
JAPI-501 Disable snapshot publish on release tag
Browse files Browse the repository at this point in the history
Signed-off-by: James McMullan [email protected]
  • Loading branch information
jpmcmu committed Aug 9, 2023
1 parent 3f79f65 commit a297c88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-snapshots-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish package
if: contains(github.ref_name, '-release') == false
run: mvn --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USER_NAME }}
Expand Down

0 comments on commit a297c88

Please sign in to comment.