File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 56
56
export GPG_TTY=$(tty) && echo ${GPG_KEY_BASE64} | base64 --decode | gpg --fast-import --batch
57
57
NEW_VERSION=$(echo "${GITHUB_REF}" | cut -d "/" -f3)
58
58
echo "New version: ${NEW_VERSION}"
59
- ./gradlew -Pversion=${NEW_VERSION} publishToSonatype --info
60
- ./gradlew getStagingProfile closeAndReleaseRepository --info
59
+ ./gradlew -Pversion=${NEW_VERSION} publishToSonatype closeAndReleaseRepository --info
61
60
Original file line number Diff line number Diff line change @@ -190,10 +190,13 @@ tasks {
190
190
dependsOn(" shadowJar" )
191
191
}
192
192
193
- /* "publish" {
194
- dependsOn("shadowJar")
195
- dependsOn("jibDockerBuild")
196
- }*/
193
+ " publish" {
194
+ dependsOn(" initializeSonatypeStagingRepository" )
195
+ }
196
+
197
+ " publishToSonatype" {
198
+ dependsOn(" publish" )
199
+ }
197
200
198
201
withType<Sign >().configureEach {
199
202
onlyIf {
You can’t perform that action at this time.
0 commit comments