Update changelog URL
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user