@@ -21,7 +21,7 @@ numbers. The following guarantees are provided:
21
21
ever becomes necessary to allow packages to have different version numbers,
22
22
this policy will be updated.)
23
23
24
- 1 . Libraries in the ` cirq-core ` directory (with the exception of
24
+ 2 . Libraries in the ` cirq-core ` directory (with the exception of
25
25
` cirq-core/cirq/contrib ` ) adhere to the guarantees outlined in the Semantic
26
26
Versioning specification. In summary:
27
27
@@ -34,14 +34,14 @@ numbers. The following guarantees are provided:
34
34
* Additions and/or changes that affect the API in a
35
35
backwards-_ incompatible_ way will increment the MAJOR version.
36
36
37
- 1 . The contrib directory (at ` cirq-core/cirq/contrib ` ) currently follows
37
+ 3 . The contrib directory (at ` cirq-core/cirq/contrib ` ) currently follows
38
38
Semantic Versioning except for the MINOR version increment policy: releases
39
39
with MINOR version increments may contain backward-incompatible
40
40
functionality changes to its public API. (They may be changed to strictly
41
41
follow Semantic Versioning in the future, at which point this policy will
42
42
be updated.)
43
43
44
- 1 . Cirq vendor directories (` cirq-aqt ` , ` cirq-google ` , ` cirq-ionq ` , etc.) follow
44
+ 4 . Cirq vendor directories (` cirq-aqt ` , ` cirq-google ` , ` cirq-ionq ` , etc.) follow
45
45
Semantic Versioning except the MINOR version increment policy: each vendor
46
46
directory has a separate policy on whether MINOR version increments provide
47
47
backward-compatibility guarantees, as described in ` version_policy.md ` in the
@@ -54,7 +54,7 @@ numbers. The following guarantees are provided:
54
54
1 . For each vendor directory, version policies may be modified to strictly
55
55
follow Semantic Versioning in the future.
56
56
57
- 1 . Versions based on unreleased branches of ` main ` will be suffixed with ` .dev ` .
57
+ 5 . Versions based on unreleased branches of ` main ` will be suffixed with ` .dev0 ` .
58
58
59
59
The rules for version changes are:
60
60
@@ -76,7 +76,7 @@ We use GitHub's release system for creating releases. Release are listed
76
76
77
77
Our development process uses the branch named ` main ` for development. This
78
78
branch will always use the next unreleased minor version number with the suffix
79
- of ` .dev ` . When a release is performed, the ` .dev ` will be removed and tagged
79
+ of ` .dev0 ` . When a release is performed, the ` .dev0 ` will be removed and tagged
80
80
in a release branch with a version tag (vX.X.X). Then, ` main ` will be updated
81
81
to the next minor version. The version number of ` main ` can always be found in
82
82
the [ version file] ( ./cirq-core/cirq/_version.py ) .
@@ -158,9 +158,9 @@ git cherry-pick <commit>
158
158
Bump the version number on the release branch:
159
159
160
160
``` bash
161
- python dev_tools/modules.py replace_version --old ${VER} .dev --new ${VER}
161
+ python dev_tools/modules.py replace_version --old ${VER} .dev0 --new ${VER}
162
162
git add .
163
- git commit -m " Removing ${VER} .dev -> ${VER} "
163
+ git commit -m " Removing ${VER} .dev0 -> ${VER} "
164
164
git push origin " v${VER} -dev"
165
165
```
166
166
@@ -171,7 +171,7 @@ updates, leave it as it is.
171
171
172
172
``` bash
173
173
git checkout main -b " version_bump_${NEXT_VER} "
174
- python dev_tools/modules.py replace_version --old ${VER} .dev --new ${NEXT_VER} .dev
174
+ python dev_tools/modules.py replace_version --old ${VER} .dev0 --new ${NEXT_VER} .dev0
175
175
git add .
176
176
git commit -m " Bump cirq version to ${NEXT_VER} "
177
177
git push origin " version_bump_${NEXT_VER} "
0 commit comments