Skip to content

Commit

Permalink
Close the sonatype repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Feb 21, 2024
1 parent d78e637 commit ed562e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
},
{
"name": "Publish",
"run": "./gradlew publish",
"run": "./gradlew publish closeAndReleaseSonatypeStagingRepository",
"id": "publish",
"env": {
"CENTRAL_MAVEN_USER": "${{ secrets.CENTRAL_MAVEN_USER }}",
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ managedVersioning {
readOnly.set false
gradlew 'Tag Release', 'tagRelease'
gradlew 'Build', 'build'
gradlew 'Publish', 'publish'
gradlew 'Publish', 'publish', 'closeAndReleaseSonatypeStagingRepository'
step {
run.set 'git push && git push --tags'
}
Expand Down

0 comments on commit ed562e1

Please sign in to comment.