File tree Expand file tree Collapse file tree 4 files changed +7
-33
lines changed Expand file tree Collapse file tree 4 files changed +7
-33
lines changed Original file line number Diff line number Diff line change 2
2
current_version = 3.9.30
3
3
commit = True
4
4
tag = True
5
- parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<prerelease_label>[a-z]+)\.(?P<prerelease>\d+))?
6
- serialize =
7
- {major}.{minor}.{patch}-{prerelease_label}.{prerelease}
8
- {major}.{minor}.{patch}
9
-
10
- [bumpversion:part:prerelease]
11
- first_value = 0
12
-
13
- [bumpversion:part:prerelease_label]
14
- optional_value = rc
15
- values =
16
- alpha
17
- beta
18
- rc
19
5
20
6
[bumpversion:file:setup.py]
21
7
search = version =' {current_version}'
@@ -30,10 +16,8 @@ search = /v{current_version}...main
30
16
replace = /v{new_version}...main
31
17
32
18
[bumpversion:file:docs/conf.py]
33
- search = version = ' {current_version}'
34
- release = ' {current_version}'
35
- replace = version = ' {new_version}'
36
- release = ' {new_version}'
19
+ search = version = release = ' {current_version}'
20
+ replace = version = release = ' {new_version}'
37
21
38
22
[bumpversion:file:src/geophires_x/__init__.py]
39
23
search = __version__ = ' {current_version}'
@@ -42,5 +26,3 @@ replace = __version__ = '{new_version}'
42
26
[bumpversion:file:.cookiecutterrc]
43
27
search = version: {current_version}
44
28
replace = version: {new_version}
45
-
46
- [bumpversion:part:release]
Original file line number Diff line number Diff line change @@ -278,16 +278,9 @@ Then push both commits and tags to your fork:
278
278
Writing objects: 100% (1/1), 205 bytes | 205.00 KiB/s, done.
279
279
Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
280
280
To github.com:softwareengineerprogrammer/python-geophires-x-nrel.git
281
- * [new tag] v3.2.3-alpha.0 -> v3.2.3-alpha.0
281
+ * [new tag] v3.2.3 -> v3.2.3
282
282
283
- Once the alpha version builds successfully in GitHubActions and you're ready to release it as v3.2.3:
284
-
285
- .. code-block ::
286
-
287
- (venv) ➜ python-geophires-x git:(main) bumpversion release
288
- (venv) ➜ python-geophires-x git:(main) git push && git push fork --tags
289
-
290
- Once a version bump is merged into the main repository with a Pull Request, tags must be manually pushed (GitHub `doesn't include tags in PRs <https://stackoverflow.com/questions/12278660/adding-tags-to-a-pull-request >`__):
283
+ Once a version bump is merged into the main repository with a Pull Request, tag must be manually pushed (GitHub `doesn't include tags in PRs <https://stackoverflow.com/questions/12278660/adding-tags-to-a-pull-request >`__):
291
284
292
285
.. code-block ::
293
286
Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ Free software: `MIT license <LICENSE>`__
58
58
:alt: Supported implementations
59
59
:target: https://pypi.org/project/geophires-x
60
60
61
- .. |commits-since | image :: https://img.shields.io/github/commits-since/softwareengineerprogrammer/GEOPHIRES-X/v/v/ v3.9.30...main.svg .svg
61
+ .. |commits-since | image :: https://img.shields.io/github/commits-since/softwareengineerprogrammer/GEOPHIRES-X/v3.9.30.svg
62
62
:alt: Commits since latest release
63
- :target: https://github.com/softwareengineerprogrammer/GEOPHIRES-X/compare/v/v/ v3.9.30...main.svg ...main
63
+ :target: https://github.com/softwareengineerprogrammer/GEOPHIRES-X/compare/v3.9.30...main
64
64
65
65
.. |docs | image :: https://readthedocs.org/projects/GEOPHIRES-X/badge/?style=flat
66
66
:target: https://nrel.github.io/GEOPHIRES-X
Original file line number Diff line number Diff line change 18
18
year = '2025'
19
19
author = 'NREL'
20
20
copyright = f'{ year } , { author } '
21
- version = '3.9.30'
22
- release = '3.9.30'
21
+ version = release = '3.9.30'
23
22
24
23
pygments_style = 'trac'
25
24
templates_path = ['./templates' ]
You can’t perform that action at this time.
0 commit comments