Skip to content

Commit 806f5d7

Browse files
committed
🚀 Automatically close and release sonatype staging repository after publication
1 parent 9dc3c53 commit 806f5d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
build/libs/java-security-*.jar
3636
3737
- name: "Publish to Maven Central"
38-
run: ./gradlew publish
38+
run: ./gradlew publishNebulaPublicationToSonatypeRepository closeAndReleaseSonatypeStagingRepository
3939
env:
4040
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
4141
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSPHRASE }}

0 commit comments

Comments
 (0)