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