Skip to content
Snippets Groups Projects
Commit 5cc8ea10 authored by Chris Holdgraf's avatar Chris Holdgraf
Browse files

:rocket:RELEASE: v0.7.2

parent c439b53c
No related branches found
No related tags found
No related merge requests found
...@@ -12,33 +12,30 @@ To create a new release, follow these steps: ...@@ -12,33 +12,30 @@ To create a new release, follow these steps:
- Ensure that there aren't any extra issues to tackle in - Ensure that there aren't any extra issues to tackle in
[the milestone for the next release](https://github.com/executablebooks/jupyter-book/milestones?direction=asc&sort=due_date) [the milestone for the next release](https://github.com/executablebooks/jupyter-book/milestones?direction=asc&sort=due_date)
- Remove `dev0` from the Jupyter Book version in `__init__.py` - Bump `__init__.py` to the version for the release. Use
- Create a "release commit": [semantic versioning](https://semver.org/) to decide what version to choose.
For example:
``` ```
git add jupyter_book __version__ = "0.6.1"
git commit -m "RLS: <version-number>"
git push upstream master
``` ```
- [Create a new release](https://github.com/executablebooks/jupyter-book/releases/new) on GitHub. - Create a "release commit":
The tag and title should be `v<version-number>`. For example, `v0.6.0`.
- Bump `__init__.py` to the next dev version. Increment the minor version and add `dev0` to it. e.g.:
```
__version__ = "0.6.1dev0"
```
- Commit and push to master
``` ```
git add jupyter_book git add jupyter_book
git commit -m "Dev version bump" git commit -m "🚀RELEASE: <version-number>"
git push upstream master git push upstream master
``` ```
- Confirm that a new version of the package [is posted to pypi](https://pypi.org/project/jupyter-book/) - [Create a new release](https://github.com/executablebooks/jupyter-book/releases/new) on GitHub.
The tag and title should be `v<version-number>`. For example, `v0.6.1`.
- GitHub Actions will automatically deploy this release to PyPI using
[this configuration](https://github.com/executablebooks/jupyter-book/blob/master/.github/workflows/tests.yml#L86).
- Confirm that a new version of the package [is posted to pypi](https://pypi.org/project/jupyter-book/)
- Add a changelog for the latest version by using `github-activity`: - Add a changelog for the latest version by using `github-activity`:
``` ```
github-activity executablebooks/jupyter-book -s <old-version-tag> -u <new-version-tag> github-activity executablebooks/jupyter-book -s <old-version-tag> -u <new-version-tag>
``` ```
and pasting the result into the release description on GitHub. Paste the result into the release description on GitHub.
- You're done! 🎉
...@@ -5,7 +5,7 @@ from .toc import update_indexname, add_toctree ...@@ -5,7 +5,7 @@ from .toc import update_indexname, add_toctree
from .directive.toc import TableofContents, SwapTableOfContents from .directive.toc import TableofContents, SwapTableOfContents
__version__ = "0.7.2dev0" __version__ = "0.7.2"
def add_static_files(app, config): def add_static_files(app, config):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment