Fix tag_strip_v for auto-tagging
ci/woodpecker/push/build_and_release Pipeline was successful
Details
ci/woodpecker/push/build_and_release Pipeline was successful
Details
This commit is contained in:
parent
45fde6371e
commit
ad975eb178
|
@ -61,7 +61,7 @@ fi
|
||||||
# Simply auto-tagging
|
# Simply auto-tagging
|
||||||
if [[ "${PLUGIN_AUTO_TAG:-}" == "true" ]]; then
|
if [[ "${PLUGIN_AUTO_TAG:-}" == "true" ]]; then
|
||||||
|
|
||||||
if [[ -n "${PLUGIN_TAG_STRIP_V:-}" ]]; then
|
if [[ "${PLUGIN_TAG_STRIP_V:-}" == "true" ]]; then
|
||||||
TAG=$(echo "${CI_COMMIT_TAG:-}" | sed 's/^v//g')
|
TAG=$(echo "${CI_COMMIT_TAG:-}" | sed 's/^v//g')
|
||||||
else
|
else
|
||||||
TAG="${CI_COMMIT_TAG}"
|
TAG="${CI_COMMIT_TAG}"
|
||||||
|
|
Loading…
Reference in New Issue