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 7c2ee86 commit 3054474
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:

- name: Stage to Nexus and Release to Maven central
run: |
mvn -B release:clean release:prepare -P release release:perform
mvn -B clean -P release deploy nexus-staging: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
env:
Expand All @@ -45,7 +46,8 @@ jobs:

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

0 comments on commit 3054474

Please sign in to comment.