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:
parent
1f5a138044
commit
2dba627301
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user