Skip to content

Commit b0e4d1e

Browse files
committed
setup config add
1 parent a5340ff commit b0e4d1e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

setup.cfg

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[semantic_release]
2+
version_source = tag
3+
upload_to_pypi = true
4+
# branch = master
5+
branches = master,main
6+
commit = false
7+
push = false
8+
9+
[semantic_release.plugins]
10+
version = "semantic_release.version.python_version.Version"
11+
build = "semantic_release.build.PythonBuildCommand"
12+
publish = "semantic_release.publish.PyPiPublishCommand"
13+
14+
[semantic_release.pypi]
15+
repository = pypi
16+
17+
[semantic_release.options]
18+
patch_without_tag = false
19+
allowed_tags = (a|alpha|b|beta|rc)
20+
21+
[tool.setuptools_scm]
22+
version_scheme = "post-release"
23+
local_scheme = "no-local-version"

0 commit comments

Comments
 (0)