Skip to content

Commit 96b83c7

Browse files
fix releasing (6)
1 parent e77432f commit 96b83c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
uses: abatilo/[email protected]
2020
with:
2121
poetry-version: "1.1.13"
22+
- name: Configure Poetry
23+
run: poetry config pypi-token.pypi ${{ secrets.POETRY_HTTP_BASIC_PYPI_PASSWORD }}
2224
- name: Install pypi deps
2325
run: poetry install
2426
- name: Version according to tag
25-
run: poetry version ${{ github.event.release.tag_name }}
27+
run: poetry version $(git describe --tags --abrev=0)
2628
- name: Build
2729
run: poetry build
28-
- name: Poetry publish config
29-
run: poetry config pypi-token.pypi ${{ secrets.POETRY_HTTP_BASIC_PYPI_PASSWORD }}
3030
- name: Publish to PyPi
31-
run: poetry publish --dry-run
31+
run: poetry publish

0 commit comments

Comments
 (0)