Skip to content

Commit

Permalink
Bump to v0.12.5 (#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwillchen authored Sep 26, 2024
1 parent 3051e48 commit 129e0d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/internal/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Update [`mesop/version.py`](https://github.com/google/mesop/blob/main/mesop/vers

You want to first create an RC (release candidate) to ensure that it works.

For example, if the current version is: `0.7.0`, then you should increment the version to `0.8.0rc0` which will create an RC, which is treated as a [pre-release by PyPI](https://packaging.python.org/en/latest/specifications/version-specifiers/#pre-releases).
For example, if the current version is: `0.7.0`, then you should increment the version to `0.8.0rc1` which will create an RC, which is treated as a [pre-release by PyPI](https://packaging.python.org/en/latest/specifications/version-specifiers/#pre-releases).

## Install locally

Expand All @@ -28,7 +28,7 @@ This will build the Mesop pip package and install it locally so you can test it.
### Dev CLI

The above shell script will run the following command:
The above shell script will tell you to run the following command:

```sh
mesop main.py
Expand Down Expand Up @@ -67,7 +67,7 @@ Because Colab installs from PyPI, you will need to test the RC on Colab after up
Open our [Mesop Colab notebook](https://colab.research.google.com/github/google/mesop/blob/main/notebooks/mesop_colab_getting_started.ipynb). You will need to explicitly pip install the RC version as pip will _not_ automatically install a pre-release version, even if it's the newest version. So change the first cell to something like:

```sh
!pip install mesop==0.X.Yrc0
!pip install mesop==0.X.Yrc1
```

> Tip: sometimes it takes a minute for the PyPI registry to be updated after upload, so just try again.
Expand All @@ -76,11 +76,11 @@ Then, run all the cells and make sure it works. Usually if something breaks in C

## Change the version from RC to regular release

If you find an issue, then redo the above steps and create another RC candidate: `0.8.0rc0` -> `0.8.0rc1`.
If you find an issue, then redo the above steps and create another RC candidate: `0.8.0rc1` -> `0.8.0rc2`.

If all the testing looks good, then you can update [`mesop/version.py`](https://github.com/google/mesop/blob/main/mesop/version.py) and change the version from RC to a regular release, for example:

`0.8.0rc0` -> `0.8.0`
`0.8.0rc1` -> `0.8.0`

Re-do the steps above to build, test and upload it to PyPI.

Expand Down
2 changes: 1 addition & 1 deletion mesop/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Contains the version string."""

VERSION = "0.12.4"
VERSION = "0.12.5"

if __name__ == "__main__":
print(VERSION)

0 comments on commit 129e0d0

Please sign in to comment.