diff --git a/.gitlab/CI/publish.gitlab-ci.yml b/.gitlab/CI/publish.gitlab-ci.yml index 132ded6c0b..c1c479672a 100644 --- a/.gitlab/CI/publish.gitlab-ci.yml +++ b/.gitlab/CI/publish.gitlab-ci.yml @@ -43,6 +43,7 @@ gittag: - git remote set-url origin https://veloren-bot:${GITLAB_TOKEN_WRITE}@${CI_PROJECT_URL:8} - | if [[ ! "${SCHEDULE_CADENCE}" =~ ${TAG_REGEX} ]]; then + git fetch; git tag -a "${SCHEDULE_CADENCE}" -m '' -f; git push origin "${SCHEDULE_CADENCE}" -f; fi