Skip to content

Commit

Permalink
fix: Fix publish-pypi (#395)
Browse files Browse the repository at this point in the history
* fix: fix publish-pypi

* fix: enable poetry-dynamic-versioning

* fix: fix location of installing poetry-dyanmic-versioning
  • Loading branch information
hiohiohio authored Jan 5, 2024
1 parent ba83efb commit a41e28b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
# install poetry first for cache
- name: setup poetry
run: pipx install poetry poetry-dynamic-versioning
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -35,3 +35,4 @@ jobs:
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
plugins: "poetry-dynamic-versioning"
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ sphinx-toolbox = "^3.1.2"
requires = ["poetry-core>=1.4.2", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"

[tool.poetry-dynamic-versioning]
enable=true

[tool.poetry-dynamic-versioning.substitution]
folders = [
{ path = "alpaca" }
Expand Down

0 comments on commit a41e28b

Please sign in to comment.