File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 7474 echo "PROJECT_VERSION=$VERSION" >> $GITHUB_ENV
7575 - name : Publish with Gradle
7676 if : " ${{ runner.os == 'Linux' && ((env.STATUS != 'release' && github.event_name == 'push' && startsWith(github.ref, 'refs/heads/api-')) || (env.STATUS == 'release' && github.event_name == 'release')) }}"
77- run : ./gradlew -PforceSign=true publish
77+ run : ./gradlew -PforceSign=true publish closeAndReleaseStagingRepository
7878 env :
7979 ORG_GRADLE_PROJECT_githubPackagesUsername : " ${{ github.actor }}"
8080 ORG_GRADLE_PROJECT_githubPackagesPassword : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ plugins {
1111 id(" org.spongepowered.gradle.sponge.dev" )
1212 id(" net.kyori.indra.publishing" )
1313 id(" net.kyori.indra.checkstyle" )
14+ id(" net.kyori.indra.publishing.sonatype" )
1415 id(" org.spongepowered.gradle.event-impl-gen" )
15- id(" org.cadixdev.licenser" )
1616 id(" org.jetbrains.gradle.plugin.idea-ext" )
1717 id(" net.ltgt.errorprone" )
1818}
@@ -257,6 +257,7 @@ indra {
257257 artifactId = project.name.toLowerCase()
258258 pom {
259259 this .url.set(projectUrl)
260+ this .description.set(projectDescription)
260261 }
261262 }
262263}
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ pluginManagement {
1010 val indraVersion = " 2.0.6"
1111 id(" org.spongepowered.gradle.event-impl-gen" ) version " 7.0.0"
1212 id(" org.spongepowered.gradle.sponge.dev" ) version " 1.1.1"
13- id(" org.cadixdev.licenser" ) version " 0.6.1"
1413 id(" org.jetbrains.gradle.plugin.idea-ext" ) version " 1.0"
1514 id(" net.ltgt.errorprone" ) version " 2.0.1"
1615 id(" net.kyori.indra.publishing" ) version indraVersion
16+ id(" net.kyori.indra.publishing.sonatype" ) version indraVersion
1717 id(" net.kyori.indra.checkstyle" ) version indraVersion
1818 }
1919}
You can’t perform that action at this time.
0 commit comments