Little correction
This commit is contained in:
parent
d0c438ebdc
commit
0f4d842d89
|
@ -10,7 +10,7 @@ targetCompatibility = JavaVersion.VERSION_17
|
||||||
archivesBaseName = project.archives_base_name
|
archivesBaseName = project.archives_base_name
|
||||||
group = project.maven_group
|
group = project.maven_group
|
||||||
|
|
||||||
String buildNumber = 2
|
String buildNumber = System.getenv("GITEA_RUN_NUMBER")
|
||||||
version = "${mod_version}+${minecraft_version}" + (buildNumber != null ? "-${buildNumber}" : "")
|
version = "${mod_version}+${minecraft_version}" + (buildNumber != null ? "-${buildNumber}" : "")
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|
Reference in New Issue