We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3636dc9 commit 6e2d5a9Copy full SHA for 6e2d5a9
1 file changed
.github/workflows/release.yml
@@ -3,8 +3,6 @@ on:
3
push:
4
tags:
5
- v*
6
- branches:
7
- - master
8
permissions:
9
contents: read
10
jobs:
@@ -21,9 +19,11 @@ jobs:
21
19
uses: abatilo/actions-poetry@v2.0.0
22
20
- name: Install pypi deps
23
run: poetry install
24
- - name: Version
+ - name: Version according to tag
25
run: poetry version ${{ github.event.release.tag_name }}
26
- name: Build
27
run: poetry build
+ - name: Poetry publish config
+ run: poetry config pypi-token.pypi $POETRY_HTTP_BASIC_PYPI_PASSWORD
28
- name: Publish to PyPi
29
run: poetry publish --dry-run
0 commit comments