Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only skip building wheels on PR builds #10482

Merged
merged 3 commits into from
Jul 28, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion build-support/githooks/prepare-commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ cat <<EOF >> "${COMMIT_MSG_FILEPATH}"
EOF
fi

if [[ "${HAS_WHEELS_SKIP}" -eq 1 ]] && [ "${NUM_RELEASE_FILES}" -eq 0 ]; then
# We only skip building wheels if on a PR build, even if the user put the skip label in the merged
# commit message.
if [[ "${TRAVIS_PULL_REQUEST}" -ne false ]] && [[ "${HAS_WHEELS_SKIP}" -eq 1 ]] && [ "${NUM_RELEASE_FILES}" -eq 0 ]; then
cat <<EOF >> "${COMMIT_MSG_FILEPATH}"

# Building wheels and fs_util will be skipped. Delete if not intended.
Expand Down