mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Fix more build stuff
This commit is contained in:
2 files changed
+9
-1
No files matched your search
+6
-1
@@ -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 {
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user