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