From a1b62e0eb08e3fef54f5f9e24fc5cd6049db9382 Mon Sep 17 00:00:00 2001 From: WinterMyst <22961076-wintermyst@users.noreply.gitlab.com> Date: Mon, 23 Sep 2024 16:15:08 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f033bc6..55f4f13 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,8 +40,13 @@ release: - npm install --global gulp-cli - gulp --version # Verify Gulp is installed # Install release-cli - - curl -sSL -o /usr/local/bin/release-cli https://gitlab.com/gitlab-org/release-cli/-/releases/v0.17.0/downloads/release-cli-linux-amd64 - - chmod +x /usr/local/bin/release-cli + - | + RELEASE_CLI_VERSION="v0.18.0" # Replace with the latest version + curl -sSL "https://gitlab.com/gitlab-org/release-cli/-/releases/${RELEASE_CLI_VERSION}/downloads/release-cli-linux-amd64.tar.gz" -o release-cli-linux-amd64.tar.gz + tar -xzvf release-cli-linux-amd64.tar.gz + mv linux-amd64 /usr/local/bin/release-cli + chmod +x /usr/local/bin/release-cli + # Verify release-cli installation - release-cli --version - git fetch --all - git switch master