Skip to content

Commit 5f0dafc

Browse files
Fix bumpversion conf.py handling, fixing issue preventing release command introduced in previous commit from working
1 parent 764d668 commit 5f0dafc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.bumpversion.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ search = /v{current_version}...main
3030
replace = /v{new_version}...main
3131

3232
[bumpversion:file:docs/conf.py]
33-
search = version = release = '{current_version}'
34-
replace = version = release = '{new_version}'
33+
search = version = '{current_version}'
34+
release = '{current_version}'
35+
replace = version = '{new_version}'
36+
release = '{new_version}'
3537

3638
[bumpversion:file:src/geophires_x/__init__.py]
3739
search = __version__ = '{current_version}'
@@ -42,6 +44,4 @@ search = version: {current_version}
4244
replace = version: {new_version}
4345

4446
[bumpversion:part:release]
45-
# This is a "virtual" part. It's not in the version string itself.
46-
# Its purpose is to enable the 'bumpversion release' command,
47-
# which will intelligently drop the pre-release suffix.
47+
# Enables the 'bumpversion release' command to drop pre-release suffixes.

0 commit comments

Comments
 (0)