mirror of
https://gitlab.com/packaging/gitea
synced 2024-12-18 16:13:44 +00:00
print dl url
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
This commit is contained in:
parent
2b8cb0ee34
commit
5f0e2c85a3
@ -19,8 +19,8 @@ stages:
|
||||
- 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 fpm
|
||||
- mkdir -p "${CI_PROJECT_DIR}/package_root/usr/bin"
|
||||
- echo "https://dl.gitea.com/gitea/${VERSION}/gitea-${VERSION}-linux-${ARCH}"
|
||||
- curl -sL -o
|
||||
"${CI_PROJECT_DIR}/package_root/usr/bin/gitea"
|
||||
"https://dl.gitea.com/gitea/${VERSION}/gitea-${VERSION}-linux-${ARCH}"
|
||||
@ -30,6 +30,7 @@ stages:
|
||||
"${CI_PROJECT_DIR}/package_root/usr/bin/gitea"
|
||||
| grep -q 'application/x-executable'
|
||||
- chmod +x "${CI_PROJECT_DIR}/package_root/usr/bin/gitea"
|
||||
- gem install fpm
|
||||
- fpm
|
||||
--architecture "${ARCH}"
|
||||
--input-type dir
|
||||
|
Loading…
Reference in New Issue
Block a user