Skip to content

Commit 4a8800c

Browse files
author
Anuraag Agrawal
committed
Close sonatype repo too
1 parent 2cc27a7 commit 4a8800c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/patch-release-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
- name: Build release with Gradle
8888
uses: burrunan/gradle-cache-action@v1
8989
with:
90-
arguments: build jib final -Prelease.version=${{ github.event.inputs.version }} --stacktrace
90+
arguments: build jib final closeAndReleaseSonatypeStagingRepository -Prelease.version=${{ github.event.inputs.version }} --stacktrace
9191
env:
9292
PUBLISH_USERNAME: ${{ github.actor }}
9393
PUBLISH_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Build release with Gradle
3131
uses: burrunan/gradle-cache-action@v1
3232
with:
33-
arguments: build jib final -Prelease.version=${{ github.event.inputs.version }} --stacktrace
33+
arguments: build jib final closeAndReleaseSonatypeStagingRepository -Prelease.version=${{ github.event.inputs.version }} --stacktrace
3434
env:
3535
PUBLISH_USERNAME: ${{ secrets.PUBLISH_USERNAME }}
3636
PUBLISH_PASSWORD: ${{ secrets.PUBLISH_PASSWORD }}

0 commit comments

Comments
 (0)