Skip to content
Snippets Groups Projects

updating and testing Sam's bumpversion work

Merged Charlotte Hausman requested to merge playing-with-versioning into 2.8.2.3-DEVELOPMENT
All threads resolved!
+ 30
12
# Config for bump-my-version
# Docs: https://callowayproject.github.io/bump-my-version/
[tool.bumpversion]
current_version = "2.8.2.3rc1"
current_version = "2.8.2.3"
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.
(?P<patch>0|[1-9]\\d*)
(?:
\\.(?P<smallpatch>0|[1-9]\\d*)
)?
)? # smallpatch section is optional
(?:
(?P<pre_l>[a-zA-Z-]+) # pre-release label
(?P<pre_n>[1-9]\\d*) # pre-release version number
)? # pre-release section is optional
(?P<pre_l>[a-zA-Z-]+) # pre-release label
(?P<pre_n>[1-9]\\d*) # pre-release version number
)? # pre-release section is optional
"""
serialize = [
"{major}.{minor}.{patch}{pre_l}{pre_n}",
@@ -33,18 +33,36 @@ search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "./.gitlab-ci.yml"
search = "RELEASE_VERSION: {current_version}"
replace = "RELEASE_VERSION: {new_version}"
glob = "apps/cli/executables/pexable/*/*/__init__.py"
[[tool.bumpversion.files]]
glob = "apps/cli/utilities/*/*/__init__.py"
glob = "services/*/pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[[tool.bumpversion.files]]
glob = "apps/cli/executables/pexable/*/*/__init__.py"
glob = "services/*/*/__init__.py"
[[tool.bumpversion.files]]
glob = "services/*/*/__init__.py"
glob = "shared/*/pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "shared/workspaces/workspaces/__init__.py"
[[tool.bumpversion.files]]
glob = "apps/cli/utilities/*/pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[[tool.bumpversion.files]]
glob = "apps/cli/utilities/*/*/__init__.py"
[[tool.bumpversion.files]]
filename = "./.gitlab-ci.yml"
search = "RELEASE_VERSION: {current_version}"
replace = "RELEASE_VERSION: {new_version}"
[[tool.bumpversion.files]]
filename = "shared/workspaces/workspaces/__init__.py"
\ No newline at end of file
filename = "services/workflow/gitlab-requirements.txt"
\ No newline at end of file
Loading