fix build number not being expanded to proper value (#254)

convert String to GString so that the value is interpolated properly
dev/0.11
Joshua Schirra 2020-08-10 09:13:23 +02:00 committed by GitHub
parent 9d142efb01
commit 032ee6f9f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'