Skip to content

Commit

Permalink
improve version naming
Browse files Browse the repository at this point in the history
  • Loading branch information
btwonion committed Nov 28, 2024
1 parent 7e4a2ef commit 6ef7cbf
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ plugins {
}

val beta: Int? = null // Pattern is '1.0.0-beta1-1.20.6-pre.2'
val featureVersion = "3.0.7${if (beta != null) "-beta$beta" else ""}"
val featureVersion = "3.1.0${if (beta != null) "-beta$beta" else ""}"
val mcVersion = property("mcVersion")!!.toString()
val mcVersionRange = property("mcVersionRange")!!.toString()
version = "$featureVersion-$mcVersion"
val mcVersionName = property("versionName")!!.toString()
version = "$featureVersion-$mcVersionName"

group = "dev.nyon"
val githubRepo = "btwonion/telekinesis"
Expand Down
1 change: 1 addition & 0 deletions versions/1.20.1/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
versionName=1.20.1
mcVersion=1.20.1
mcVersionRange=>=1.20
supportedMcVersions=1.20,1.20.1
Expand Down
1 change: 1 addition & 0 deletions versions/1.20.4/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
versionName=1.20.4
mcVersion=1.20.4
mcVersionRange=>=1.20.3
supportedMcVersions=1.20.3,1.20.4
Expand Down
1 change: 1 addition & 0 deletions versions/1.20.6/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
versionName=1.20.6
mcVersion=1.20.6
mcVersionRange=>=1.20.5
supportedMcVersions=1.20.5,1.20.6
Expand Down
3 changes: 2 additions & 1 deletion versions/1.21.2/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
versionName=1.21.2
mcVersion=1.21.2-rc1
mcVersionRange=>1.20.6
supportedMcVersions=1.21.2-rc1
supportedMcVersions=1.21.2,1.21.3

deps.quiltmappings=1.21.2-pre5+build.1
deps.fapi=0.106.0+1.21.2
Expand Down
1 change: 1 addition & 0 deletions versions/1.21/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
versionName=1.21
mcVersion=1.21
mcVersionRange=>1.20.6
supportedMcVersions=1.21,1.21.1
Expand Down

0 comments on commit 6ef7cbf

Please sign in to comment.