Skip to content

Commit 5dda1f9

Browse files
Ciheim BrownCiheim Brown
authored andcommitted
semantic release -> bump-my-version
1 parent 28cb938 commit 5dda1f9

File tree

2 files changed

+14
-45
lines changed

2 files changed

+14
-45
lines changed

.github/workflows/semantic-release.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

pyproject.toml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66

77
[project]
88
name = "catalogbuilder"
9-
version = "2025.01.01"
9+
version = "2026.0.0"
1010
description = "intake-esm Catalog Generation Utilities"
1111
readme = "README.md"
1212
license = "CC-BY-NC-SA-4.0"
@@ -36,8 +36,17 @@ catalogbuilder = [
3636
"scripts/configs/**",
3737
]
3838

39-
#Semantic Release Configuration
39+
[tool.bumpversion]
40+
current_version = "2026.0.0"
41+
commit = false
42+
tag = false
43+
parse = "(?P<year>\\d+)\\.(?P<major>\\d+)\\.(?P<minor>\\d+)"
44+
serialize = ["{year}.{major}.{minor}"]
4045

41-
[tool.semantic_release]
42-
version_variable = ["pyproject.toml:project.version"] # Tell it where to find the project version in this file
43-
branch = "main"
46+
[tool.bumpversion.parts.release]
47+
calver_format = "{YYYY}"
48+
49+
[[tool.bumpversion.files]]
50+
filename = "pyproject.toml"
51+
search = 'version = "{current_version}"'
52+
replace = 'version = "{new_version}"'

0 commit comments

Comments
 (0)