Skip to content

Commit

Permalink
[android] Add GH action to publish snapshots.
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Jul 25, 2024
1 parent ef49f94 commit e2a82b4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions spine-android/spine-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,13 @@ afterEvaluate {
}
}

if (!libraryVersion.endsWith("-SNAPSHOT")) {
signing {
useGpgCmd()
sign(publishing.publications["release"])
sign(tasks.getByName("sourceJar"))
}
signing {
useGpgCmd()
sign(publishing.publications["release"])
sign(tasks.getByName("sourceJar"))
}

tasks.withType<Sign> {
onlyIf { !libraryVersion.endsWith("-SNAPSHOT") }
}
}

0 comments on commit e2a82b4

Please sign in to comment.