Skip to content

Commit 20d3c59

Browse files
fix: version source from pyproject.toml
1 parent a244739 commit 20d3c59

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,3 @@ jobs:
7070
with:
7171
github_token: ${{ secrets.GH_TOKEN }}
7272
pypi_token: ${{ secrets.PYPI_TOKEN }}
73-
version_source: tag

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ pytest = "*"
3030

3131
[tool.semantic_release]
3232
branch = "main"
33+
version_source = "tag_only"
3334
version_toml = "pyproject.toml:tool.poetry.version"
34-
version_variable = "setup.py:__version__"
3535
build_command = "pip install poetry && poetry build"

setup.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)