Skip to content

Commit 436c937

Browse files
authored
Remove the --pre option from verify-published-package.sh (#6536)
Not needed after #6534 as cirq pre-releases are installed with stable dependencies.
1 parent 857e202 commit 436c937

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

dev_tools/packaging/verify-published-package.sh

+3-8
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
################################################################################
1818
# Downloads and tests cirq wheels from the pypi package repository.
19-
# Can verify prod, test, or pre-release versions.
20-
# --pre: pre-release cirq from prod pypi
19+
# Can verify test or prod versions.
2120
# --test: cirq from test pypi
2221
# --prod: cirq from prod pypi
2322
#
@@ -27,7 +26,7 @@
2726
# dependencies disagree, the tests can spuriously fail.
2827
#
2928
# Usage:
30-
# dev_tools/packaging/verify-published-package.sh PACKAGE_VERSION --test|--prod|--pre
29+
# dev_tools/packaging/verify-published-package.sh PACKAGE_VERSION --test|--prod
3130
################################################################################
3231

3332
set -e
@@ -51,12 +50,8 @@ elif [ "${PROD_SWITCH}" = "--prod" ]; then
5150
PIP_FLAGS=''
5251
PYPI_REPO_NAME="PROD"
5352
PYPI_PROJECT_NAME="cirq"
54-
elif [ "${PROD_SWITCH}" = "--pre" ]; then
55-
PIP_FLAGS='--pre'
56-
PYPI_REPO_NAME="PROD"
57-
PYPI_PROJECT_NAME="cirq"
5853
else
59-
echo -e "\033[31mSecond argument must be '--prod' or '--test' or '--pre'.\033[0m"
54+
echo -e "\033[31mSecond argument must be '--test' or '--prod'.\033[0m"
6055
exit 1
6156
fi
6257

0 commit comments

Comments
 (0)