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

install release-cli

parent fbe4534c
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
stages:
  - build
  - deploy
  # - build
  # - deploy
  - release

build:
@@ -32,7 +32,10 @@ release_job:
    - deploy_package
  script:
    - echo "Running the release job for $VERSION from commit $CI_COMMIT_SHA"
    - hostnamectl ; lsb_release -a ; cat /etc/os-release
    - 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
    # - hostnamectl ; lsb_release -a ; cat /etc/os-release
  # release:
  #   tag_name: '$VERSION'
  #   description: '$CI_COMMIT_TAG_MESSAGE'