From 49cfcd3e246c4f90f2f6a4587056d7a0caec9f64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Mon, 3 Dec 2018 14:19:21 +0100 Subject: [PATCH] stop adding 'v' before the contents of VERSION file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- _assets/ci/lib.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_assets/ci/lib.groovy b/_assets/ci/lib.groovy index 02a8d7410..21b9ddb9b 100644 --- a/_assets/ci/lib.groovy +++ b/_assets/ci/lib.groovy @@ -9,7 +9,7 @@ def timestamp() { def suffix() { if (params.RELEASE == true) { - return 'v' + readFile("${env.WORKSPACE}/${env.STATUS_PATH}/VERSION").trim() + return readFile("${env.WORKSPACE}/${env.STATUS_PATH}/VERSION").trim() } else { return "${timestamp()}-${gitCommit()}" }