File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " guildmaster-cli"
7- version = " 1.0.0 "
7+ dynamic = [ " version " ]
88authors = [
99 {
name =
" Damien Burks" ,
email =
" [email protected] " }
1010]
@@ -31,6 +31,9 @@ guildmaster = "guildmaster.cli:main"
3131zip-safe = true
3232include-package-data = true
3333
34+ [tool .setuptools .dynamic ]
35+ version = {attr = " guildmaster.__version__" }
36+
3437[tool .setuptools .packages .find ]
3538where = [" src" ]
3639exclude = [" tests" ]
@@ -43,3 +46,11 @@ current_version = "1.1.0"
4346version_pattern = " MAJOR.MINOR.PATCH"
4447commit = true
4548tag = true
49+
50+ [tool .bumpver .file_patterns ]
51+ "pyproject.toml" = [
52+ ' current_version = "{version}"' ,
53+ ]
54+ "src/guildmaster/__init__.py" = [
55+ ' __version__ = "{version}"' ,
56+ ]
Original file line number Diff line number Diff line change 1+ __version__ = "1.1.0"
You can’t perform that action at this time.
0 commit comments