From a297c88bd747b7af55d55f106538de46dc6c2711 Mon Sep 17 00:00:00 2001 From: James McMullan Date: Wed, 9 Aug 2023 15:53:59 -0400 Subject: [PATCH] JAPI-501 Disable snapshot publish on release tag Signed-off-by: James McMullan James.McMullan@lexisnexis.com --- .github/workflows/publish-snapshots-on-merge.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-snapshots-on-merge.yml b/.github/workflows/publish-snapshots-on-merge.yml index 3b305d462..0b6018545 100644 --- a/.github/workflows/publish-snapshots-on-merge.yml +++ b/.github/workflows/publish-snapshots-on-merge.yml @@ -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 }}