Skip to content

Commit

Permalink
fix(build): update pyproject
Browse files Browse the repository at this point in the history
add build instructions for python semantic release in pyproject.toml
  • Loading branch information
Preet-Sojitra committed Mar 30, 2024
1 parent 131e92d commit d79d3b5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ sphinx-rtd-theme = "^2.0.0"
python-semantic-release = "^9.3.1"

[tool.semantic_release]
version_toml = [
"pyproject.toml:tool.poetry.version",
] # version location
version_toml = ["pyproject.toml:tool.poetry.version",] # The version variable to update
branch = "main" # branch to make release from
changelog_file = "CHANGELOG.md" # changelog file to update
build_command = "pip install poetry && poetry build" # command to build the package

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit d79d3b5

Please sign in to comment.