-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add versioning notes to release.md #629
Conversation
release.md
Outdated
to the release. In the pull request corresponding to the release | ||
the [version file](cirq/_version.py) should be updated. After | ||
that version is cut, a future pull request should update the | ||
version to the next minor version with `-dev` appended. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to do vX.X.X.dev
instead to match what python tooling expects for package versions (see https://www.python.org/dev/peps/pep-0440/#public-version-identifiers). Or could leave the branch names with -dev
but should also document what the package versions do.
Update as suggested to use ".dev" Also changed _version.py |
releases. Versions are labeled MAJOR.MINOR.PATCH where each of these | ||
is a numerical value. The rules for versions changes are: | ||
* Before MAJOR becomes 1, updates to MINOR can and will make changes to | ||
public facing apis and interfaces.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
[on the Cirq release page](https://github.com/quantumlib/Cirq/releases). | ||
|
||
Our development process uses the `master` branch for development. | ||
When a release is made for a major or minor version update, `master` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say that a commit is tagged, not master.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to "a commit to the master branch"
|
||
Our development process uses the `master` branch for development. | ||
When a release is made for a major or minor version update, `master` | ||
is tagged with a version tag (vX.X.X) for a pull request corresponding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by a pull request corresponding to the release? Like, we make a pull request "Release vX", merge it, and the resulting commit is what we tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ugh reworded
version to the next minor version with `.dev` appended. | ||
|
||
For patch version updates (bug fixes), we follow a different pattern. | ||
For these we create a separate branch that off of the version the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'that off of' gore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d
For patch version updates (bug fixes), we follow a different pattern. | ||
For these we create a separate branch that off of the version the | ||
major minor version for the patch, or a previous branch patch. The | ||
branches should be of the name `branch-X-X-X` corresponding to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.