1
0
mirror of https://gitlab.com/packaging/gitea synced 2024-12-18 16:13:44 +00:00

adjust version fot automated builds

This commit is contained in:
morph027 2020-05-10 13:52:02 +02:00
parent 1f5a138044
commit 2dba627301
No known key found for this signature in database
GPG Key ID: BF17A54BB873BE58

View File

@ -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