From 2dba6273010e6a83514ffbeddcb4866ce11da912 Mon Sep 17 00:00:00 2001 From: morph027 Date: Sun, 10 May 2020 13:52:02 +0200 Subject: [PATCH] adjust version fot automated builds --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 928091f..916c474 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ package: DESCRIPTION: "A painless self-hosted Git service." ARTIFACTS: "usr" script: - - export VERSION=$(echo ${CI_COMMIT_TAG} | cut -d'-' -f1) + - export VERSION=$(echo ${CI_COMMIT_TAG#*v} | cut -d'-' -f1) - export PATCHLEVEL=$(echo ${CI_COMMIT_TAG} | cut -d'-' -f2) - apt-get -qq update - apt-get -qqy install ruby-dev ruby-ffi curl