File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 25
25
# dev_tools/packaging/produce-package.sh output_dir [version]
26
26
# ###############################################################################
27
27
28
- PROJECT_NAME=cirq-core/cirq
29
-
30
28
set -e
31
29
trap " { echo -e '\033[31mFAILED\033[0m'; }" ERR
32
30
@@ -54,7 +52,9 @@ git init --quiet
54
52
git fetch " ${repo_dir} " HEAD --quiet --depth=1
55
53
git checkout FETCH_HEAD -b work --quiet
56
54
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
58
58
fi
59
59
60
60
# 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
37
37
38
38
## Before you release: flush the deprecation backlog
39
39
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.
42
43
43
44
## Release Procedure
44
45
@@ -133,8 +134,8 @@ that will go to pypi.
133
134
134
135
``` bash
135
136
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
138
139
```
139
140
140
141
### Push to test pypi
You can’t perform that action at this time.
0 commit comments