Skip to content

Commit 13ce3c7

Browse files
committed
fix: fix semantic release build command
1 parent 8ba5d09 commit 13ce3c7

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.github/workflows/main.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,6 @@ jobs:
8282
# determine whether a release should be made.
8383
fetch-depth: 0
8484

85-
- name: Install poetry
86-
run: pipx install poetry
87-
88-
- uses: actions/setup-python@v4
89-
with:
90-
python-version: 3.9
91-
cache: "poetry"
92-
9385
- name: Python Semantic Release
9486
uses: relekang/[email protected]
9587
with:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ flake9 = "^3.8.3"
3232
# https://python-semantic-release.readthedocs.io/en/latest/configuration.html
3333
branch = "main"
3434
version_variable = "pydantic_ssm_settings/__init__.py:__version__"
35-
build_command = "poetry build"
35+
build_command = "pip install poetry && poetry build" # https://github.com/relekang/python-semantic-release/issues/222#issuecomment-709326972
3636
upload_to_pypi = true
3737
upload_to_release = true
3838

0 commit comments

Comments
 (0)