Skip to content

Commit

Permalink
Bump version: 4.0.0 → 4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Helveg committed Mar 29, 2024
1 parent b9a1b66 commit 85aa59b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 30 deletions.
2 changes: 1 addition & 1 deletion glia/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
whenever you change your NMODL code or simulator environment.
"""

__version__ = "4.0.0"
__version__ = "4.0.1"

from ._fs import get_cache_path as _get_cache_path
from ._glia import Glia, MechId
Expand Down
26 changes: 13 additions & 13 deletions glia/packaging/cookiecutter-glia/cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"full_name": "Me",
"email": "[email protected]",
"project_name": "Glia Package",
"project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}",
"project_short_description": "My collection of NMODL assets.",
"version": "0.1.0",
"open_source_license": ["MIT license", "BSD license", "ISC license", "Apache Software License 2.0", "GNU General Public License v3", "Not open source"],
"_glia": {
"version": "4.0.0b0",
"specifier": "nmodl-glia>=4.0.0b0,<=4.0.0b9999"
}
}
{
"full_name": "Me",
"email": "[email protected]",
"project_name": "Glia Package",
"project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}",
"project_short_description": "My collection of NMODL assets.",
"version": "0.1.0",
"open_source_license": ["MIT license", "BSD license", "ISC license", "Apache Software License 2.0", "GNU General Public License v3", "Not open source"],
"_glia": {
"version": "4.0.1",
"specifier": "nmodl-glia~=4.0"
}
}
23 changes: 7 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,9 @@ line-length = 90
profile = "black"

[tool.bumpversion]
current_version = "4.0.0"
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.
(?P<patch>0|[1-9]\\d*)
(?:
- # dash seperator for pre-release section
(?P<pre_l>[a-zA-Z-]+) # pre-release label
(?P<pre_n>0|[1-9]\\d*) # pre-release version number
)? # pre-release section is optional
"""
serialize = [
"{major}.{minor}.{patch}-{pre_l}{pre_n}",
"{major}.{minor}.{patch}",
]
current_version = "4.0.1"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
Expand All @@ -95,4 +83,7 @@ values = ["dev", "a", "b", "rc", "final"]
optional_value = "final"

[[tool.bumpversion.files]]
filename = "glia/__init__.py"
filename = "glia/__init__.py"

[[tool.bumpversion.files]]
filename = "glia/packaging/cookiecutter-glia/cookiecutter.json"

0 comments on commit 85aa59b

Please sign in to comment.