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

Remove the --pre option from verify-published-package.sh #6536

Merged
Changes from all commits
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
11 changes: 3 additions & 8 deletions dev_tools/packaging/verify-published-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

################################################################################
# Downloads and tests cirq wheels from the pypi package repository.
# Can verify prod, test, or pre-release versions.
# --pre: pre-release cirq from prod pypi
# Can verify test or prod versions.
# --test: cirq from test pypi
# --prod: cirq from prod pypi
#
Expand All @@ -27,7 +26,7 @@
# dependencies disagree, the tests can spuriously fail.
#
# Usage:
# dev_tools/packaging/verify-published-package.sh PACKAGE_VERSION --test|--prod|--pre
# dev_tools/packaging/verify-published-package.sh PACKAGE_VERSION --test|--prod
################################################################################

set -e
Expand All @@ -51,12 +50,8 @@ elif [ "${PROD_SWITCH}" = "--prod" ]; then
PIP_FLAGS=''
PYPI_REPO_NAME="PROD"
PYPI_PROJECT_NAME="cirq"
elif [ "${PROD_SWITCH}" = "--pre" ]; then
PIP_FLAGS='--pre'
PYPI_REPO_NAME="PROD"
PYPI_PROJECT_NAME="cirq"
else
echo -e "\033[31mSecond argument must be '--prod' or '--test' or '--pre'.\033[0m"
echo -e "\033[31mSecond argument must be '--test' or '--prod'.\033[0m"
exit 1
fi

Expand Down
Loading