cpkg: force tag

This commit is contained in:
wpetit 2022-09-12 18:18:22 +02:00
parent 1d1a679d62
commit bc8b1ec7d3
1 changed files with 2 additions and 2 deletions

View File

@ -85,11 +85,11 @@ def call(Map params = [:]) {
tagComment += ' [ci skip]'
}
sh("git tag -a '${tag}' -m '${tagComment}'")
sh("git tag -f -a '${tag}' -m '${tagComment}'")
// Push tag
if (!skipPush) {
sh("git push --tags")
sh("git push --tags -f")
} else {
println("Skipping push. Set skipPush param to 'true' to enable remote repository update.")
}