Skip to content

Commit cfb4002

Browse files
committed
chore: bump version to 2.1.0
1 parent f7f3cad commit cfb4002

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎docs/release.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ Release Steps
4242

4343
.. code-block:: bash
4444
45-
# Update the version in pyproject.toml
46-
sed -i "s/^version = .*/version = \"$VERSION\"/" pyproject.toml
45+
# Update the version in pyproject.toml (cross-platform)
46+
sed -i.bak "s/^version = .*/version = \"$VERSION\"/" pyproject.toml && rm pyproject.toml.bak
4747
4848
# Commit the version change
4949
git add pyproject.toml
@@ -121,7 +121,7 @@ Here's a complete example of releasing version 2.0.2:
121121
make format
122122
123123
# Update version in pyproject.toml
124-
sed -i "s/^version = .*/version = \"$VERSION\"/" pyproject.toml
124+
sed -i.bak "s/^version = .*/version = \"$VERSION\"/" pyproject.toml && rm pyproject.toml.bak
125125
git add pyproject.toml
126126
git commit -m "chore: bump version to $VERSION"
127127
git push origin main

‎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.0-rc6"
7+
version = "2.1.0"
88
description = "Event dispatcher (see python-whistle.github.io)."
99
authors = [
1010
{name = "Romain Dorgueil", email = "romain@makersquad.fr"}

0 commit comments

Comments
 (0)