Skip to content

Commit 532a68e

Browse files
Update 1.1.1 (#1219)
* Add bump-my-version support * update to correct mbuild-version * Bump version: 1.1.0 → 1.1.1 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 5ecb159 commit 532a68e

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.bumpversion.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[tool.bumpversion]
2+
current_version = "1.1.1"
3+
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
4+
serialize = ["{major}.{minor}.{patch}"]
5+
search = "{current_version}"
6+
replace = "{new_version}"
7+
regex = false
8+
ignore_missing_version = false
9+
ignore_missing_files = false
10+
tag = false
11+
sign_tags = false
12+
tag_name = "v{new_version}"
13+
tag_message = "Bump version: {current_version} → {new_version}"
14+
allow_dirty = false
15+
commit = false
16+
message = "Bump version: {current_version} → {new_version}"
17+
commit_args = ""
18+
setup_hooks = []
19+
pre_commit_hooks = []
20+
post_commit_hooks = []
21+
22+
[[tool.bumpversion.files]]
23+
filename = 'mbuild/__init__.py'
24+
search = "__date__ = '\\d{{4}}-\\d{{2}}-\\d{{2}}'"
25+
replace = "__date__ = '{now:%Y-%m-%d}'"
26+
regex = true
27+
28+
[[tool.bumpversion.files]]
29+
filename = 'mbuild/__init__.py'

mbuild/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
from mbuild.port import Port
1414
from mbuild.recipes import recipes
1515

16-
__version__ = "1.0.0"
16+
__version__ = "1.1.1"
17+
__date__ = "2025-01-23"

0 commit comments

Comments
 (0)