Skip to content

Commit 5c854a5

Browse files
committed
CI: ignore tag if exist
1 parent cfd67f9 commit 5c854a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ generate_release_tag:
3939
- git config --global user.email "ci@teamt5.org"
4040
- git config --global user.name "CI"
4141
- git remote set-url origin "https://gitlab-ci-token:${GIT_TOKEN}@${CI_REPOSITORY_URL#*@}"
42-
- git tag $(cat .release_tag)
42+
- (git tag $(cat .release_tag)) || true
4343
- git push origin --tags
4444
artifacts:
4545
paths: [".release_tag"]

0 commit comments

Comments
 (0)