From 032ee6f9f110192e9243ee8d38eb966564823e21 Mon Sep 17 00:00:00 2001 From: Joshua Schirra <10714589+UpcraftLP@users.noreply.github.com> Date: Mon, 10 Aug 2020 09:13:23 +0200 Subject: [PATCH] fix build number not being expanded to proper value (#254) convert String to GString so that the value is interpolated properly --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 8c2d4e3..0920157 100644 --- a/build.gradle +++ b/build.gradle @@ -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'