From 7614aa5ee7ca7c77664ac9f767b6bbd6688b7a24 Mon Sep 17 00:00:00 2001 From: Ben Wallis Date: Fri, 16 Apr 2021 20:56:57 +0100 Subject: [PATCH] x --- .gitlab/CI/release.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab/CI/release.yml b/.gitlab/CI/release.yml index 3de8a59b94..cab452157a 100644 --- a/.gitlab/CI/release.yml +++ b/.gitlab/CI/release.yml @@ -18,3 +18,18 @@ - if: $CI_PIPELINE_SOURCE == "schedule" && ( $CI_COMMIT_REF_NAME =~ /^master$/ || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/ ) when: always - when: never + +tag-release: + stage: tag + tags: + - veloren-docker +# rules: +# - if: $CI_PIPELINE_SOURCE == "schedule" && ( $CI_COMMIT_REF_NAME =~ /^master$/ || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/ ) +# when: always +# - when: never + script: + - git config --global user.email "gitlab@veloren.net" + - git config --global user.name "Veloren Admin" + - git remote add api-origin https://oauth2:${TAGTOKEN}@gitlab.com/veloren/veloren.git + - git tag -f airshipper + - git push api-origin --tags -f