Update .gitlab-ci.yml file

This commit is contained in:
WinterMyst 2024-09-23 16:15:08 +00:00
parent 9ecc7d5573
commit a1b62e0eb0

View File

@ -40,8 +40,13 @@ release:
- npm install --global gulp-cli - npm install --global gulp-cli
- gulp --version # Verify Gulp is installed - gulp --version # Verify Gulp is installed
# Install release-cli # 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 - release-cli --version
- git fetch --all - git fetch --all
- git switch master - git switch master