File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 2525# dev_tools/packaging/produce-package.sh output_dir [version]
2626# ###############################################################################
2727
28- PROJECT_NAME=cirq-core/cirq
29-
3028set -e
3129trap " { echo -e '\033[31mFAILED\033[0m'; }" ERR
3230
@@ -54,7 +52,9 @@ git init --quiet
5452git fetch " ${repo_dir} " HEAD --quiet --depth=1
5553git checkout FETCH_HEAD -b work --quiet
5654if [ ! -z " ${SPECIFIED_VERSION} " ]; then
57- echo ' __version__ = "' " ${SPECIFIED_VERSION} " ' "' > " ${tmp_git_dir} /${PROJECT_NAME} /_version.py"
55+ for PROJECT_NAME in cirq-core/cirq cirq-google/cirq_google; do
56+ echo ' __version__ = "' " ${SPECIFIED_VERSION} " ' "' > " ${tmp_git_dir} /${PROJECT_NAME} /_version.py"
57+ done
5858fi
5959
6060# Python 3 wheel.
Original file line number Diff line number Diff line change @@ -37,8 +37,9 @@ to the next minor version. This can always be found in the
3737
3838## Before you release: flush the deprecation backlog
3939
40- Ensure that all the deprecations that were meant to be deprecated for the given release.
41- E.g. if you want to release ` v0.11 ` , you can check with ` git grep 'v0.11' ` for all the lines containing this deadline.
40+ Ensure that all the deprecations are removed that were meant to be deprecated for the given release.
41+ E.g. if you want to release ` v0.11 ` , you can check with ` git grep 'v0.11' ` for all the lines containing this deadline.
42+ Make sure none of those are released.
4243
4344## Release Procedure
4445
@@ -133,8 +134,8 @@ that will go to pypi.
133134
134135``` bash
135136git checkout " v${VER} -dev"
136- python3 setup.py -q bdist_wheel
137- ls dist # should only contain ONE file
137+ ./dev_tools/packaging/produce-package.sh dist
138+ ls dist # should only contain 3 files, one versioned whl file for cirq, cirq_google and cirq_core
138139```
139140
140141### Push to test pypi
You can’t perform that action at this time.
0 commit comments