Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shaishap authored Oct 27, 2023
1 parent 2ae66f5 commit 8a324aa
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ jobs:

- name: Stage to Nexus and Release to Maven central
run: |
mvn -B versions:set -DnewVersion=1.4.26
mvn -B clean deploy -P release
#1 mvn -B release:clean release:prepare -P release release:perform
# mvn -B clean release:prepare release:perform nexus-staging:promote -DstagingRepositoryId=ossrh -DbuildPromotionProfileId=ossrh
# mvn -B clean release:perform nexus-staging:promote -DstagingRepositoryId=ossrh -DbuildPromotionProfileId=ossrh
mvn -B release:clean release:prepare -P release release:perform
env:
OSSRH_USER: ${{ secrets.ORG_OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.ORG_OSSRH_PASSWORD }}
Expand All @@ -47,8 +43,7 @@ jobs:

- if: cancelled() || failure()
run: |
mvn -B nexus-staging:drop
# mvn -B release:rollback nexus-staging:drop
mvn -B release:rollback
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}

0 comments on commit 8a324aa

Please sign in to comment.