Skip to content

Commit 78c2d5d

Browse files
authored
Fix conditional #89 (#91)
1 parent f8e3773 commit 78c2d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/trigger-pipeline.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ PARAM_BRANCH=$(printf '%s\n' "${!PARAM_BRANCH_ENV_VAR}")
5757
PARAM_TAG=$(printf '%s\n' "${!PARAM_TAG_ENV_VAR}")
5858

5959
if [[ "$SKIP_TRIGGER" == "0" || "$SKIP_TRIGGER" == "false" ]]; then
60-
if [[ "$PARAM_BRANCH_ENV_VAR" != "" ]]; then
60+
if [[ "$PARAM_TAG" == "" ]]; then
6161
/tmp/swissknife/trigger_pipeline.sh "$VCS_TYPE" "$PARAM_USER" "$PARAM_REPO" "$PARAM_BRANCH" "$CUSTOM_PARAMS"
6262
else
6363
/tmp/swissknife/trigger_pipeline.sh "$VCS_TYPE" "$PARAM_USER" "$PARAM_REPO" -t "$PARAM_TAG" "$CUSTOM_PARAMS"

0 commit comments

Comments
 (0)