Skip to content

Commit e5f9096

Browse files
committed
Tweak tagging task to publishAndReleaseToMavenCentral
1 parent 019803d commit e5f9096

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ jobs:
5252
if: startsWith(github.ref, 'refs/tags/')
5353

5454
- name: Upload tag
55-
run: ./gradlew publishAllPublicationsToMavenCentral -Psigning.secretKeyRingFile=$(echo ~/.gradle/sonatype-appmattus-keys.gpg)
55+
run: ./gradlew publishAndReleaseToMavenCentral -Psigning.secretKeyRingFile=$(echo ~/.gradle/sonatype-appmattus-keys.gpg)
5656
if: startsWith(github.ref, 'refs/tags/')

gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
1919
org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn=true
2020

2121
# Maven Publishing
22+
SONATYPE_HOST=DEFAULT
23+
RELEASE_SIGNING_ENABLED=true
24+
SONATYPE_AUTOMATIC_RELEASE=true
25+
2226
GROUP=com.appmattus.mpu
2327

2428
POM_URL=https://github.com/appmattus/multiplatform-utils

0 commit comments

Comments
 (0)