Fix tag_strip_v for auto-tagging
ci/woodpecker/push/build_and_release Pipeline was successful Details

This commit is contained in:
Kevin Dorner 2022-09-12 12:59:14 +02:00
parent 45fde6371e
commit ad975eb178
1 changed files with 1 additions and 1 deletions

View File

@ -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}"