1
0
mirror of https://gitlab.com/packaging/gitea synced 2024-12-18 08:03:29 +00:00

update version scheme

Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
This commit is contained in:
morph027 2023-05-27 07:12:41 +02:00
parent 1ed73b2f19
commit 6e8272fe38
No known key found for this signature in database
GPG Key ID: BF17A54BB873BE58

View File

@ -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 <stefan.heitmueller@gmx.com>"
--url "${URL}"