From 6e8272fe38d08d098b74eb94bdbc90fc906f81b9 Mon Sep 17 00:00:00 2001 From: morph027 Date: Sat, 27 May 2023 07:12:41 +0200 Subject: [PATCH] update version scheme Signed-off-by: morph027 --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a80823d..59fa2a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,8 +15,8 @@ stages: stage: package image: golang:latest script: - - export VERSION=$(echo ${CI_COMMIT_TAG#*v} | cut -d'-' -f1) - - export PATCHLEVEL=$(echo ${CI_COMMIT_TAG} | cut -d'-' -f2) + - 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 file - gem install specific_install @@ -35,9 +35,9 @@ stages: --architecture "${ARCH}" --input-type dir --output-type deb - --package "${CI_PROJECT_DIR}/gitea_${VERSION}-${PATCHLEVEL}_${ARCH}.deb" + --package "${CI_PROJECT_DIR}/gitea_${VERSION}+${PATCHLEVEL}_${ARCH}.deb" --name "${NAME}" - --version "${VERSION}-${PATCHLEVEL}" + --version "${VERSION}+${PATCHLEVEL}" --description "${DESCRIPTION}" --maintainer "Stefan Heitmüller " --url "${URL}"