mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
fix build number not being expanded to proper value (#254)
convert String to GString so that the value is interpolated properly
This commit is contained in:
@@ -18,7 +18,7 @@ def baseVersion = '0.5'
|
||||
def build = 'local'
|
||||
def ENV = System.getenv()
|
||||
if (ENV.BUILD_NUMBER) {
|
||||
build = 'jenkins #${ENV.BUILD_NUMBER}'
|
||||
build = "jenkins #${ENV.BUILD_NUMBER}"
|
||||
version = baseVersion + '.' + ENV.BUILD_NUMBER
|
||||
} else {
|
||||
version = baseVersion + '.local'
|
||||
|
||||
Reference in New Issue
Block a user