Skip to content
Snippets Groups Projects
Commit f7ff2a6b authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

Merge branch 'playing-with-versioning' into '2.8.2.3-DEVELOPMENT'

updating and testing Sam's bumpversion work

See merge request !1579
parents 5dd31121 b75d0341
No related branches found
No related tags found
3 merge requests!1605Merge 2.8.2.3 work to main,!1581catch up with 2.8.2.3,!1579updating and testing Sam's bumpversion work
Pipeline #14347 passed
[bumpversion]
current_version = 2.8.2.3rc1
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(rc)?(?P<rc>\d+)
serialize =
{major}.{minor}.{patch}rc{rc}
{major}.{minor}.{patch}
[bumpversion:glob:apps/cli/utilities/*/*/__init__.py]
[bumpversion:glob:apps/cli/executables/*/*/__init__.py]
[bumpversion:glob:apps/cli/executables/pexable/*/*/__init__.py]
[bumpversion:glob:services/*/*/__init__.py]
[bumpversion:file:testing/testing/_version.py]
# Config for bump-my-version
# Docs: https://callowayproject.github.io/bump-my-version/
# NB: Run with `--ignore-missing-version` flag to ignore PyCAPO's version
[tool.bumpversion]
current_version = "2.8.2.3rc1"
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>0|[1-9]\\d*) # pre-release version number
)? # pre-release section is optional
"""
serialize = [
"{major}.{minor}.{patch}{pre_l}{pre_n}",
"{major}.{minor}.{patch}.{smallpatch}{pre_l}{pre_n}",
"{major}.{minor}.{patch}.{smallpatch}",
"{major}.{minor}.{patch}",
]
allow_dirty = true
ignore_missing_version = true
[tool.bumpversion.parts.pre_l]
values = ["dev", "rc", "final"]
optional_value = "final"
[tool.bumpversion.parts.pre_n]
first_value = "1"
[[tool.bumpversion.files]]
glob = "apps/cli/executables/pexable/*/pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[[tool.bumpversion.files]]
glob = "apps/cli/executables/pexable/*/*/__init__.py"
[[tool.bumpversion.files]]
glob = "services/*/pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[[tool.bumpversion.files]]
glob = "services/*/*/__init__.py"
[[tool.bumpversion.files]]
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 = "services/workflow/gitlab-requirements.txt"
[[tool.bumpversion.files]]
filename = "apps/cli/executables/go/spelunker/main.go"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment