From 0be8aa246bd1dbff0524e561b77bfaf5c2981323 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Wed, 10 Nov 2021 15:58:25 +0100 Subject: [PATCH] Add download modifier --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 36f01f8..85f17ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,3 +31,7 @@ build-image: - cd omnibus-gitlab - "GITLAB_VER=$(git tag | sort -V | grep ce | tail -1)" - echo $GITLAB_VER + - git checkout $GITLAB_VER + - "NEW_URL=$(wget --no-check-certificate --content-disposition 'https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/focal/gitlab-ce_$(GITLAB_VER)_arm64.deb/download.deb' -O /tmp/gitlab.deb)" + - echo $NEW_URL + - sed -i '/wget/c\ REPLACE' test-download