Skip to content

Commit 3c5cccc

Browse files
committed
feat: use commitizen for versioning
1 parent f08b0ee commit 3c5cccc

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ license = "MIT"
77
readme = "README.md"
88
packages = [{include = "pysource_minimize"}]
99

10+
[tool.commitizen]
11+
changelog_incremental = true
12+
major_version_zero = true
13+
tag_format = "v$major.$minor.$patch$prerelease"
14+
update_changelog_on_bump = true
15+
version_files = [
16+
"inline_snapshot/__init__.py:version"
17+
]
18+
version_provider = "poetry"
19+
1020
[tool.poetry.dependencies]
1121
python = "^3.7"
1222
asttokens = "^2.0.8"

pysource_minimize/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33

44

55
__all__ = ("minimize", "StopMinimization")
6+
7+
8+
version = "0.4.0"

0 commit comments

Comments
 (0)