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