We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e77432f commit 96b83c7Copy full SHA for 96b83c7
.github/workflows/release.yml
@@ -19,13 +19,13 @@ jobs:
19
uses: abatilo/[email protected]
20
with:
21
poetry-version: "1.1.13"
22
+ - name: Configure Poetry
23
+ run: poetry config pypi-token.pypi ${{ secrets.POETRY_HTTP_BASIC_PYPI_PASSWORD }}
24
- name: Install pypi deps
25
run: poetry install
26
- name: Version according to tag
- run: poetry version ${{ github.event.release.tag_name }}
27
+ run: poetry version $(git describe --tags --abrev=0)
28
- name: Build
29
run: poetry build
- - name: Poetry publish config
- run: poetry config pypi-token.pypi ${{ secrets.POETRY_HTTP_BASIC_PYPI_PASSWORD }}
30
- name: Publish to PyPi
31
- run: poetry publish --dry-run
+ run: poetry publish
0 commit comments