Skip to content

Commit

Permalink
Close sonatype repo too
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Agrawal committed Mar 4, 2021
1 parent 2cc27a7 commit 4a8800c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/patch-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Build release with Gradle
uses: burrunan/gradle-cache-action@v1
with:
arguments: build jib final -Prelease.version=${{ github.event.inputs.version }} --stacktrace
arguments: build jib final closeAndReleaseSonatypeStagingRepository -Prelease.version=${{ github.event.inputs.version }} --stacktrace
env:
PUBLISH_USERNAME: ${{ github.actor }}
PUBLISH_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Build release with Gradle
uses: burrunan/gradle-cache-action@v1
with:
arguments: build jib final -Prelease.version=${{ github.event.inputs.version }} --stacktrace
arguments: build jib final closeAndReleaseSonatypeStagingRepository -Prelease.version=${{ github.event.inputs.version }} --stacktrace
env:
PUBLISH_USERNAME: ${{ secrets.PUBLISH_USERNAME }}
PUBLISH_PASSWORD: ${{ secrets.PUBLISH_PASSWORD }}
Expand Down

0 comments on commit 4a8800c

Please sign in to comment.