project(bootstrap): Push stable as openosrs as well

This commit is contained in:
Owain van Brakel
2022-05-02 05:59:41 +02:00
parent 6847237429
commit d8d68c832b

View File

@@ -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)
} }