mirror of
https://github.com/packwiz/packwiz-installer.git
synced 2025-04-19 13:06:30 +02:00
Dry run fails the build when the release already exists; fix
Reverted to stop the snapshot build failing
This commit is contained in:
parent
f7257f4266
commit
6f0beac1a1
@ -130,12 +130,11 @@ githubRelease {
|
|||||||
draft(true)
|
draft(true)
|
||||||
token(findProperty("github.token") as String?)
|
token(findProperty("github.token") as String?)
|
||||||
releaseAssets(layout.buildDirectory.dir("dist").map { it.file("packwiz-installer.jar") }.get())
|
releaseAssets(layout.buildDirectory.dir("dist").map { it.file("packwiz-installer.jar") }.get())
|
||||||
dryRun(project.findProperty("release") != "true")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.githubRelease {
|
tasks.githubRelease {
|
||||||
dependsOn(copyJar)
|
dependsOn(copyJar)
|
||||||
enabled = project.hasProperty("github.token")
|
enabled = project.hasProperty("github.token") && project.findProperty("release") == "true"
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.publish {
|
tasks.publish {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user