From d8d68c832b454424db35c9875dc591c3af642a29 Mon Sep 17 00:00:00 2001 From: Owain van Brakel Date: Mon, 2 May 2022 05:59:41 +0200 Subject: [PATCH] project(bootstrap): Push stable as openosrs as well --- buildSrc/src/main/kotlin/BootstrapTask.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/buildSrc/src/main/kotlin/BootstrapTask.kt b/buildSrc/src/main/kotlin/BootstrapTask.kt index a0d1229ecc..dfc60a28ff 100644 --- a/buildSrc/src/main/kotlin/BootstrapTask.kt +++ b/buildSrc/src/main/kotlin/BootstrapTask.kt @@ -276,6 +276,12 @@ open class BootstrapTask @Inject constructor(@Input val type: String) : DefaultT val bootstrapDir = File("${project.buildDir}/bootstrap") bootstrapDir.mkdirs() + if (type == "stable") { + File(bootstrapDir, "bootstrap-openosrs.json").printWriter().use { out -> + out.println(prettyJson) + } + } + File(bootstrapDir, "bootstrap-${type}.json").printWriter().use { out -> out.println(prettyJson) }