Skip to content

Commit 4c1f2be

Browse files
committed
updating again
1 parent 2906321 commit 4c1f2be

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

pyproject.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "guildmaster-cli"
7-
version = "1.0.0"
7+
dynamic = ["version"]
88
authors = [
99
{name = "Damien Burks", email = "[email protected]"}
1010
]
@@ -31,6 +31,9 @@ guildmaster = "guildmaster.cli:main"
3131
zip-safe = true
3232
include-package-data = true
3333

34+
[tool.setuptools.dynamic]
35+
version = {attr = "guildmaster.__version__"}
36+
3437
[tool.setuptools.packages.find]
3538
where = ["src"]
3639
exclude = ["tests"]
@@ -43,3 +46,11 @@ current_version = "1.1.0"
4346
version_pattern = "MAJOR.MINOR.PATCH"
4447
commit = true
4548
tag = true
49+
50+
[tool.bumpver.file_patterns]
51+
"pyproject.toml" = [
52+
'current_version = "{version}"',
53+
]
54+
"src/guildmaster/__init__.py" = [
55+
'__version__ = "{version}"',
56+
]

src/guildmaster/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "1.1.0"

src/guildmaster/_init_.py

Whitespace-only changes.

0 commit comments

Comments
 (0)