Skip to content

Commit

Permalink
fix: fix semantic release build command
Browse files Browse the repository at this point in the history
  • Loading branch information
alukach committed Jun 21, 2022
1 parent 8ba5d09 commit 13ce3c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,6 @@ jobs:
# determine whether a release should be made.
fetch-depth: 0

- name: Install poetry
run: pipx install poetry

- uses: actions/setup-python@v4
with:
python-version: 3.9
cache: "poetry"

- name: Python Semantic Release
uses: relekang/python-semantic-release@v7.28.1
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ flake9 = "^3.8.3"
# https://python-semantic-release.readthedocs.io/en/latest/configuration.html
branch = "main"
version_variable = "pydantic_ssm_settings/__init__.py:__version__"
build_command = "poetry build"
build_command = "pip install poetry && poetry build" # https://github.com/relekang/python-semantic-release/issues/222#issuecomment-709326972
upload_to_pypi = true
upload_to_release = true

Expand Down

0 comments on commit 13ce3c7

Please sign in to comment.