From ad975eb1788378c37489f1fbc84fee43b5e4b5b7 Mon Sep 17 00:00:00 2001 From: Kevin Dorner Date: Mon, 12 Sep 2022 12:59:14 +0200 Subject: [PATCH] Fix tag_strip_v for auto-tagging --- plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.sh b/plugin.sh index 50c34b5..4b20dba 100755 --- a/plugin.sh +++ b/plugin.sh @@ -61,7 +61,7 @@ fi # Simply auto-tagging 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') else TAG="${CI_COMMIT_TAG}"