Skip to content

Commit

Permalink
Seet nullglob in deploy to avoid passing *.whl to deploy script.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCallow committed Dec 10, 2023
1 parent e271058 commit 445902b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,8 @@ deploy:

- provider: script
edge: true
script: ruby ci_scripts/github_release.rb -s ${GITHUB_TOKEN} -r ${TRAVIS_REPO_SLUG} -c $REL_DESC_FILE -t ${TRAVIS_TAG} --overwrite true --draft true --prerelease true $BUILD_DIR/KTX-Software-*-* $BUILD_DIR/interface/python_binding/dist/*.whl
# nullglob is to force a null string when there are no *.whl files.
script: shopt -s nullglob; ruby ci_scripts/github_release.rb -s ${GITHUB_TOKEN} -r ${TRAVIS_REPO_SLUG} -c $REL_DESC_FILE -t ${TRAVIS_TAG} --overwrite true --draft true --prerelease true $BUILD_DIR/KTX-Software-*-* $BUILD_DIR/interface/python_binding/dist/*.whl
on:
tags: true
#branch: master
Expand Down

0 comments on commit 445902b

Please sign in to comment.