mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-10 17:18:44 +08:00
[android] Add GH action to publish snapshots.
This commit is contained in:
parent
ef49f942e4
commit
e2a82b46f1
@ -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") }
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user