Verified Commit 3974596a authored by peter.oettig's avatar peter.oettig
Browse files

Force updating local tags with remote ones in tag-creation pipeline job.

parent 589ecb21
Pipeline #237670 passed with stages
in 1 minute and 12 seconds
......@@ -86,7 +86,7 @@ create_release_tag:
- git config --replace-all user.email "$MAINTAINER_EMAIL"
- git config --replace-all user.name "$MAINTAINER_NAME"
- git remote set-url origin "https://oauth2:$PUSH_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH"
- git fetch --tags --prune --prune-tags
- git fetch --tags --prune --prune-tags -f
- git tag "v$(cat VERSION)"
- git push --tags
rules:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment