project(bootstrap): Push stable as openosrs as well
This commit is contained in:
@@ -276,6 +276,12 @@ open class BootstrapTask @Inject constructor(@Input val type: String) : DefaultT
|
|||||||
val bootstrapDir = File("${project.buildDir}/bootstrap")
|
val bootstrapDir = File("${project.buildDir}/bootstrap")
|
||||||
bootstrapDir.mkdirs()
|
bootstrapDir.mkdirs()
|
||||||
|
|
||||||
|
if (type == "stable") {
|
||||||
|
File(bootstrapDir, "bootstrap-openosrs.json").printWriter().use { out ->
|
||||||
|
out.println(prettyJson)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
File(bootstrapDir, "bootstrap-${type}.json").printWriter().use { out ->
|
File(bootstrapDir, "bootstrap-${type}.json").printWriter().use { out ->
|
||||||
out.println(prettyJson)
|
out.println(prettyJson)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user