mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +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 {
|
||||||
signing {
|
useGpgCmd()
|
||||||
useGpgCmd()
|
sign(publishing.publications["release"])
|
||||||
sign(publishing.publications["release"])
|
sign(tasks.getByName("sourceJar"))
|
||||||
sign(tasks.getByName("sourceJar"))
|
}
|
||||||
}
|
|
||||||
|
tasks.withType<Sign> {
|
||||||
|
onlyIf { !libraryVersion.endsWith("-SNAPSHOT") }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user