Skip to content

Commit

Permalink
Update 1.1.1 (#1219)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
CalCraven and pre-commit-ci[bot] authored Jan 23, 2025
1 parent 5ecb159 commit 532a68e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[tool.bumpversion]
current_version = "1.1.1"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = false
message = "Bump version: {current_version} → {new_version}"
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []

[[tool.bumpversion.files]]
filename = 'mbuild/__init__.py'
search = "__date__ = '\\d{{4}}-\\d{{2}}-\\d{{2}}'"
replace = "__date__ = '{now:%Y-%m-%d}'"
regex = true

[[tool.bumpversion.files]]
filename = 'mbuild/__init__.py'
3 changes: 2 additions & 1 deletion mbuild/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
from mbuild.port import Port
from mbuild.recipes import recipes

__version__ = "1.0.0"
__version__ = "1.1.1"
__date__ = "2025-01-23"

0 comments on commit 532a68e

Please sign in to comment.