Skip to content

Commit

Permalink
RELASE: v0.0.33
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf committed Jul 29, 2020
1 parent 250efec commit 3069cbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 27 deletions.
29 changes: 3 additions & 26 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,19 @@ the repository that can push new releases to PyPI when new tags are created.

To create a new release, follow these steps:

* **Remove `dev0` from the version** by changing the line starting with `__version__ ==` in `__init__.py`.
* **Bump the version** by changing the line starting with `__version__ ==` in `__init__.py`.
Use [semantic versioning](https://semver.org/) to decide whether it is a
major or minor bump. For example:

```
__version__ = "v0.8.1dev0"
```
becomes
```
__version__ = "v0.8.1"
```
major or minor bump.

* **Commit and push to master**

```
git commit -m "RLS: <version number>
git commit -m "RELEASE: <version number>
git push upstream master
```

* **Create a new release on GitHub**. Use the `<version-number>` for both the tag and
title for the new release. For example: `v0.8.1`.

* **Bump the version** and add `dev0` back to the version string. Use
[semantic versioning](https://semver.org/) to decide whether it is a
major or minor bump. For example:

```
__version__ = "v0.8.2dev0"
```

finally, commit and push the change

```
git commit -m "DEV: v0.8.2dev0"
git push upstream master
```

Once you create the new release, GitHub Actions will automatically build the new
release and update PyPI.
2 changes: 1 addition & 1 deletion sphinx_book_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from .launch import add_hub_urls

__version__ = "0.0.33dev0"
__version__ = "0.0.33"
SPHINX_LOGGER = logging.getLogger(__name__)


Expand Down

0 comments on commit 3069cbd

Please sign in to comment.