Skip to content

Commit ce9aab0

Browse files
committed
fix: bug-fixes pyproject.toml
1 parent e43e517 commit ce9aab0

1 file changed

Lines changed: 30 additions & 1 deletion

File tree

‎.github/workflows/pyproject.toml‎

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,36 @@
11
[build-system]
2-
requires = ["setuptools>=61.0", "wheel"]
2+
requires = ["setuptools>=42", "wheel"]
33
build-backend = "setuptools.build_meta"
44

5+
[tool.semantic_release]
6+
# This section defines global behavior
7+
branch = "main"
8+
commit_author = "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
9+
commit_message = "chore(release): bump version to {version}"
10+
tag_format = "v{version}"
11+
12+
[tool.semantic_release.version]
13+
# This is the crucial part: tells semantic-release to use the VERSION file
14+
source = "file"
15+
path = "VERSION"
16+
17+
[tool.semantic_release.commit_parser]
18+
# Defines which commit types trigger which version bump
19+
major_on_breaking = true
20+
minor_tags = ["feat"]
21+
patch_tags = ["fix", "perf", "build", "chore", "ci", "docs", "style", "refactor", "test"]
22+
23+
[tool.semantic_release.publish]
24+
# This command builds and uploads the package to PyPI and creates a GitHub Release
25+
# It replaces the old, separate upload_to_pypi and upload_to_release flags
26+
dist_glob_patterns = ["dist/*"]
27+
upload_to_vcs_release = true
28+
29+
[tool.pytest.ini_options]
30+
minversion = "6.0"
31+
addopts = "-ra -q"
32+
33+
534
[project]
635
name = "bash-script-maker"
736
dynamic = ["version"]

0 commit comments

Comments
 (0)