cpkg: force tag
This commit is contained in:
parent
1d1a679d62
commit
bc8b1ec7d3
|
@ -85,11 +85,11 @@ def call(Map params = [:]) {
|
||||||
tagComment += ' [ci skip]'
|
tagComment += ' [ci skip]'
|
||||||
}
|
}
|
||||||
|
|
||||||
sh("git tag -a '${tag}' -m '${tagComment}'")
|
sh("git tag -f -a '${tag}' -m '${tagComment}'")
|
||||||
|
|
||||||
// Push tag
|
// Push tag
|
||||||
if (!skipPush) {
|
if (!skipPush) {
|
||||||
sh("git push --tags")
|
sh("git push --tags -f")
|
||||||
} else {
|
} else {
|
||||||
println("Skipping push. Set skipPush param to 'true' to enable remote repository update.")
|
println("Skipping push. Set skipPush param to 'true' to enable remote repository update.")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue