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

print dl url

Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
This commit is contained in:
morph027 2023-11-14 18:43:20 +01:00
parent 2b8cb0ee34
commit 5f0e2c85a3
No known key found for this signature in database
GPG Key ID: BF17A54BB873BE58

View File

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