Remove remnants of willie's updater thing

This commit is contained in:
Vasco Lavos committed 2016-09-06 00:52:04 +01:00
1 parent 88ab3e41fd
commit d423d06f2e
2 files changed
-58

No files matched your search

-14
View File
@@ -120,20 +120,6 @@ task incrementBuildNumber(dependsOn: 'reobfJar') << {
file('web/versions.ini').append("\n${version}=${minecraft.version}")
file("${config.dir_repo}/version/${minecraft.version}.txt").write("${version}")
def updateJsonFile = file('version/update.json')
def updateJson = new JsonSlurper().parse(updateJsonFile) as Map
// todo detect if the mcversion is absent
// Add to version section
updateJson."${minecraft.version}"."${version}" = "See https://github.com/williewillus/Botania/releases/${version}"
// Update promos
updateJson.promos."${minecraft.version}-latest" = "${version}"
updateJson.promos."${minecraft.version}-recommended" = "${version}"
updateJsonFile.write(JsonOutput.prettyPrint(JsonOutput.toJson(updateJson)))
}
// I have no idea what I'm doing
-44
View File
@@ -1,44 +0,0 @@
{
"1.10": {
"r1.8-311": "See https://github.com/williewillus/Botania/releases/r1.8-311"
},
"1.10.2": {
"r1.8-312": "See https://github.com/williewillus/Botania/releases/r1.8-312",
"r1.8-313": "See https://github.com/williewillus/Botania/releases/r1.8-313",
"r1.8-314": "See https://github.com/williewillus/Botania/releases/r1.8-314",
"r1.8-315": "See https://github.com/williewillus/Botania/releases/r1.8-315",
"r1.8-316": "See https://github.com/williewillus/Botania/releases/r1.8-316",
"r1.8-317": "See https://github.com/williewillus/Botania/releases/r1.8-317",
"r1.8-318": "See https://github.com/williewillus/Botania/releases/r1.8-318",
"r1.8-319": "See https://github.com/williewillus/Botania/releases/r1.8-319",
"r1.8-320": "See https://github.com/williewillus/Botania/releases/r1.8-320"
},
"1.9": {
"r1.8-301": "See https://github.com/williewillus/Botania/releases/r1.8-301",
"r1.8-302": "See https://github.com/williewillus/Botania/releases/r1.8-302",
"r1.8-303": "See https://github.com/williewillus/Botania/releases/r1.8-303",
"r1.8-304": "See https://github.com/williewillus/Botania/releases/r1.8-304",
"r1.8-305": "See https://github.com/williewillus/Botania/releases/r1.8-305"
},
"1.9.4": {
"r1.8-306": "See https://github.com/williewillus/Botania/releases/r1.8-306",
"r1.8-307": "See https://github.com/williewillus/Botania/releases/r1.8-307",
"r1.8-308": "See https://github.com/williewillus/Botania/releases/r1.8-308",
"r1.8-309": "See https://github.com/williewillus/Botania/releases/r1.8-309",
"r1.8-310": "See https://github.com/williewillus/Botania/releases/r1.8-310",
"r1.8-311": "See https://github.com/williewillus/Botania/releases/r1.8-311",
"r1.8-312": "See https://github.com/williewillus/Botania/releases/r1.8-312",
"r1.8-313": "See https://github.com/williewillus/Botania/releases/r1.8-313"
},
"homepage": "https://minecraft.curseforge.com/projects/botania-unofficial",
"promos": {
"1.10-latest": "r1.8-311",
"1.10-recommended": "r1.8-311",
"1.10.2-latest": "r1.8-320",
"1.10.2-recommended": "r1.8-320",
"1.9-latest": "r1.8-305",
"1.9-recommended": "r1.8-305",
"1.9.4-latest": "r1.8-313",
"1.9.4-recommended": "r1.8-313"
}
}