Skip to content

Commit

Permalink
More explicit checking for script args
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Sep 22, 2023
1 parent 8a2c70d commit ef3fbcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/github/conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ rapids-logger "Building Conda Package"
# Run the conda build and upload
${MRC_ROOT}/ci/conda/recipes/run_conda_build.sh "${CI_SCRIPT_ARGS}"

if [["${CI_SCRIPT_ARGS}" =~ "upload" ]]; then
if [[ " ${CI_SCRIPT_ARGS} " =~ " upload " ]]; then
rapids-logger "Building Conda Package... Done"
else
# if we didn't receive the upload argument, we can still upload the artifact to S3
Expand Down

0 comments on commit ef3fbcd

Please sign in to comment.