Unverified Commit 2be10461 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

test install release-cli locally

parent 87529659
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -32,9 +32,9 @@ release_job:
  #   - deploy_package
  script:
    - echo "Running the release job for $VERSION from commit $CI_COMMIT_SHA"
    - curl --location --output /usr/local/bin/release-cli "https://gitlab.com/api/v4/projects/gitlab-org%2Frelease-cli/packages/generic/release-cli/latest/release-cli-linux-amd64"
    - sudo chmod +x /usr/local/bin/release-cli
    - release-cli -v
    - curl --location --output release-cli "https://gitlab.com/api/v4/projects/gitlab-org%2Frelease-cli/packages/generic/release-cli/latest/release-cli-linux-amd64"
    - sudo chmod +x release-cli
    - ./release-cli -v
    # - hostnamectl ; lsb_release -a ; cat /etc/os-release
  # release:
  #   tag_name: '$VERSION'