From 7f2377859377da6f22152015c28b12c04752af77 Mon Sep 17 00:00:00 2001 From: Antonio Sanchez Date: Mon, 9 Dec 2024 07:47:48 -0800 Subject: [PATCH] Add tag to commit instead of branch --- ci/deploy.gitlab-ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ci/deploy.gitlab-ci.yml b/ci/deploy.gitlab-ci.yml index eca7e0641..9ffb3e40e 100644 --- a/ci/deploy.gitlab-ci.yml +++ b/ci/deploy.gitlab-ci.yml @@ -2,15 +2,12 @@ deploy:tag: stage: deploy image: ubuntu:latest - variables: - GIT_STRATEGY: "clone" before_script: - export DEBIAN_FRONTEND=noninteractive - apt-get update -y - apt-get install -y --no-install-recommends git script: - - git status - - git tag -f nightly $CI_COMMIT_BRANCH + - git tag -f nightly $CI_COMMIT_SHORT_SHA - git push $EIGEN_CI_GIT_PUSH_URL $CI_COMMIT_BRANCH tag nightly tags: - linux