Fix more build stuff

This commit is contained in:
Vincent Lee committed 2016-06-25 14:59:39 -05:00
1 parent 4ddf3767c5
commit da3958a414
2 files changed
+9 -1

No files matched your search

+6 -1
View File
@@ -116,13 +116,18 @@ task incrementBuildNumber(dependsOn: 'reobfJar') << {
config.toProperties().store(it, "")
}
// todo make this flexibile - collection of supported mc versions
file('web/versions.ini').append("\n${version}=${minecraft.version}")
file('web/versions.ini').append("\n${version}=1.10")
file("${config.dir_repo}/version/${minecraft.version}.txt").write("${version}")
file("${config.dir_repo}/version/1.10.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}"
updateJson."1.10"."${version}" = "See https://github.com/williewillus/Botania/releases/${version}"
@@ -241,7 +246,7 @@ curseforge {
changelog = """
See https://github.com/williewillus/Botania/releases/tag/${version}
"""
releaseType = "beta"
releaseType = "release"
addGameVersion '1.9.4'
addGameVersion '1.10'
relations {
+3
View File
@@ -1,4 +1,7 @@
{
"1.10": {
},
"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",