From 9c32f1f925b8b8ee474984e9dd0b4d8b5fd8f887 Mon Sep 17 00:00:00 2001 From: Niels Bertram Date: Tue, 17 Oct 2023 11:49:53 +1000 Subject: [PATCH] add release flag --- .github/workflows/maven-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-release.yaml b/.github/workflows/maven-release.yaml index 8d9c11b..d47d965 100644 --- a/.github/workflows/maven-release.yaml +++ b/.github/workflows/maven-release.yaml @@ -41,7 +41,7 @@ jobs: gpg-passphrase: MAVEN_GPG_PASSPHRASE - run: cat ~/.m2/settings.xml - name: Publish Package - run: mvn --batch-mode --no-transfer-progress clean deploy + run: mvn --batch-mode --no-transfer-progress clean deploy -Prelease env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}