Skip to content

Commit

Permalink
Fix Github Actions release stages
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdinand-swoboda committed Mar 17, 2022
1 parent da8f6ac commit 3a32586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/development.yaml
Expand Up @@ -43,7 +43,7 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish package
run: mvn --batch-mode -Prelease -Drevision=${{ env.GITHUB_SHA }}-SNAPSHOT clean deploy
run: mvn --batch-mode -Prelease -Drevision=${env.GITHUB_SHA}-SNAPSHOT clean deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Expand Up @@ -21,7 +21,7 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish package
run: mvn --batch-mode -Prelease -Drevision=${{ env.GITHUB_REF_NAME }} clean deploy
run: mvn --batch-mode -Prelease -Drevision=${env.GITHUB_SHA} clean deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
Expand Down

0 comments on commit 3a32586

Please sign in to comment.