From 5f0e2c85a37a0ee59b813b45825234be5dbd2103 Mon Sep 17 00:00:00 2001 From: morph027 Date: Tue, 14 Nov 2023 18:43:20 +0100 Subject: [PATCH] print dl url Signed-off-by: morph027 --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de7e1bb..f7ec2e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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