Skip to content

Commit 515414d

Browse files
committed
Fix bumpversion
1 parent 1247de3 commit 515414d

File tree

4 files changed

+8
-33
lines changed

4 files changed

+8
-33
lines changed

.bumpversion.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ current_version = 3.22.2
33
tag_name = {new_version}
44
commit = True
55
tag = True
6+
message = 🔖 Bump version: {current_version} → {new_version}
67
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)([-](?P<release>(pre|rc))(?P<build>\d+))?
78
serialize =
89
{major}.{minor}.{patch}-{release}{build}
@@ -18,6 +19,8 @@ values =
1819
[bumpversion:part:build]
1920
first_value = 1
2021

21-
[bumpversion:file:setup.py]
22+
[bumpversion:file:pyproject.toml]
2223

2324
[bumpversion:file:ingestors/__init__.py]
25+
26+
[bumpversion:file:VERSION]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ pre-commit install
3939
## Release procedure
4040

4141
```bash
42+
# on main branch
4243
git pull --rebase
4344
make build
4445
make test
45-
source .env/bin/activate
46-
bump2version {patch,minor,major} # pick the appropriate one
47-
git push --atomic origin $(git branch --show-current) $(git describe --tags --abbrev=0)
46+
poetry run bump2version {patch,minor,major} # pick the appropriate one
47+
git push
4848
```
4949

5050
## Usage

VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.22.2

poetry.lock

Lines changed: 0 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)