Skip to content

Commit

Permalink
Try CI publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
xBaank committed May 10, 2024
1 parent 0481915 commit 1180abe
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ on:
push:
tags:
- '*'
branches:
- "3.0.1"

permissions:
contents: write
Expand All @@ -38,7 +36,7 @@ jobs:
with:
arguments: build
- name: Publish
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache --stacktrace
run: ./gradlew publishToMavenCentral --no-configuration-cache --stacktrace
env:
SONATYPE_CONNECT_TIMEOUT_SECONDS: 180
SONATYPE_CLOSE_TIMEOUT_SECONDS: 900
Expand Down
27 changes: 26 additions & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions simpleJson-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import com.vanniktech.maven.publish.SonatypeHost
object Meta {
const val groupId = "io.github.xbaank"
const val artifactId = "simpleJson-core"
const val version = "3.0.1-SNAPSHOT2"
const val version = "3.0.1"
const val name = "simpleJson"
const val description = "simpleJson is a library for parsing and generating JSON in Kotlin Multiplatform"
const val licenseName = "GNU General Public License v3.0"
Expand Down Expand Up @@ -61,7 +61,7 @@ kotlin {

mavenPublishing {
coordinates(Meta.groupId, Meta.artifactId, Meta.version)
publishToMavenCentral(SonatypeHost.S01)
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true)
signAllPublications()
pom {
name.set(Meta.name)
Expand Down

0 comments on commit 1180abe

Please sign in to comment.