Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Set default to fix 'unbound variable' error on main (#4916)
## Which problem is this PR solving? Build failed on `main`: ``` scripts/build-all-in-one-image.sh: line 5: $1: unbound variable ``` ## Description of the changes - Use default value for `$1` var ## How was this change tested? ```shell $ bash scripts/build-all-in-one-image.sh + arg1=not-pr + [[ not-pr == \p\r\-\o\n\l\y ]] + is_pull_request=false + BINARY=all-in-one ++ go env GOARCH + GOARCH=arm64 + repo=jaegertracing/all-in-one ++ cat jaeger-ui/.nvmrc + expected_version=v18 ++ node --version scripts/build-all-in-one-image.sh: line 23: node: command not found + version= ``` fails much later (as expected) Signed-off-by: Yuri Shkuro <github@ysh.us>
- Loading branch information