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 8c5f397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ create-tags:
- 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 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 8c5f397

Please sign in to comment.