Update changelog URL

This commit is contained in:
Jonas Herzig
2020-11-22 15:06:28 +01:00
parent f7f20ee6cb
commit 68ca92e8a2

View File

@@ -115,10 +115,7 @@ fun generateVersionsJson(): Map<String, Any> {
versions.forEach { versions.forEach {
val (thisMcVersion, modVersion, preVersion) = it.split("-") + listOf(null, null) val (thisMcVersion, modVersion, preVersion) = it.split("-") + listOf(null, null)
if (thisMcVersion == mcVersion) { if (thisMcVersion == mcVersion) {
mcVersionRoot[it] = if (tagVersions.contains(it)) mcVersionRoot[it] = "See https://www.replaymod.com/changelog.txt"
"See https://github.com/ReplayMod/ReplayMod/releases/$it"
else
"See https://www.replaymod.com/forum/thread/100"
if (latest == null) latest = it if (latest == null) latest = it
if (preVersion == null) { if (preVersion == null) {
if (recommended == null) recommended = it if (recommended == null) recommended = it