Skip to content

Commit

Permalink
ci(gitlab): pushing tag with force to recreate the tags
Browse files Browse the repository at this point in the history
  • Loading branch information
lanathlor committed Dec 30, 2024
1 parent 654ac38 commit 292232c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ create-tags:
- git config --global user.email $GITLAB_USER_EMAIL
- git config --global user.name $GITLAB_USER_NAME
- tag=$(cat version.txt)-gitlab
- git tag "$tag"
- git push --tags https://repo-token:$ACCESS_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH.git HEAD:latest
- git tag "$tag" -f
- git push --tags https://repo-token:$ACCESS_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH.git HEAD:latest -f

create release:
stage: release
Expand Down

0 comments on commit 292232c

Please sign in to comment.