add logic to accept version, stage and tag input together

This commit is contained in:
Carlos Anguita López
2026-07-01 16:24:48 +02:00
parent 90120cd9fc
commit bfe8dc4484
@@ -100,6 +100,8 @@ jobs:
if [[ -n "$version" && -n "$stage" && "$tag" != "true" ]]; then
script_params="--version ${version} --stage ${stage}"
elif [[ -n "$version" && -n "$stage" && "$tag" == "true" ]]; then
script_params="--version ${version} --stage ${stage} --tag"
elif [[ -z "$version" && -n "$stage" && "$tag" == "true" ]]; then
script_params="--stage ${stage} --tag"
elif [[ -z "$version" && -z "$stage" && "$tag" == "true" ]]; then