Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 58e1605

Browse files
committedMay 11, 2021
Merge branch 'master' into v0.11.0-dev
2 parents 44114ed + 6f9eedc commit 58e1605

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed
 

‎dev_tools/packaging/produce-package.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
# dev_tools/packaging/produce-package.sh output_dir [version]
2626
################################################################################
2727

28-
PROJECT_NAME=cirq-core/cirq
29-
3028
set -e
3129
trap "{ echo -e '\033[31mFAILED\033[0m'; }" ERR
3230

@@ -54,7 +52,9 @@ git init --quiet
5452
git fetch "${repo_dir}" HEAD --quiet --depth=1
5553
git checkout FETCH_HEAD -b work --quiet
5654
if [ ! -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
5858
fi
5959

6060
# Python 3 wheel.

‎release.md

+5-4
Original file line numberDiff line numberDiff 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
135136
git 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

0 commit comments

Comments
 (0)
Please sign in to comment.