Skip to content

Commit c0834d9

Browse files
authored
Update bump-my-version config to sync all versions (#41)
1 parent 8929e05 commit c0834d9

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
project = "parsnip"
1313
copyright = f"2024-{CURRENT_YEAR} The Regents of the University of Michigan"
1414
author = "Jen Bradley"
15-
release = "0.1.0"
15+
release = "0.2.1"
1616

1717
# -- General configuration ---------------------------------------------------
1818
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

parsnip/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# from . import parse, patterns, unitcells
77
from .parsnip import CifFile
88

9-
__version__ = "0.1.0"
9+
__version__ = "0.2.1"

pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,14 @@ omit = [
100100
"parsnip/coverage.py",
101101
]
102102

103-
[tool.bumpversion]
104-
# Configuration for https://github.com/callowayproject/bump-my-version
103+
[tool.bumpversion] # https://github.com/callowayproject/bump-my-version
105104
tag = false
106105
commit = false
107106
message = "Bump version: {current_version} → {new_version}"
107+
108+
[[tool.bumpversion.files]]
109+
filename="pyproject.toml"
110+
[[tool.bumpversion.files]]
111+
filename="doc/source/conf.py"
112+
[[tool.bumpversion.files]]
113+
filename="parsnip/__init__.py"

0 commit comments

Comments
 (0)