Skip to content

Commit 5712179

Browse files
authored
Fix poetry in nextrelease
1 parent f87294d commit 5712179

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/nextrelease.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ jobs:
1515
with:
1616
fetch-depth: 0 # all branches and tags
1717
- uses: dropseed/nextrelease@v1
18+
env:
19+
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.DROPSEED_PYPI_TOKEN }}
1820
with:
1921
prepare_cmd: |
2022
sed -i -e "s/version = \"[^\"]*\"/version = \"$VERSION\"/g" pyproject.toml
2123
publish_cmd: |
22-
poetry publish --build
24+
pip3 install -U pip poetry && poetry publish --build --no-interaction
2325
git tag -a v$VERSION_MAJOR -m v$VERSION_MAJOR -f && git push origin v$VERSION_MAJOR -f
2426
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)