We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d2d170 commit 80a561cCopy full SHA for 80a561c
4 files changed
.flake8
.github/workflows/release.yaml
@@ -1,9 +1,9 @@
1
name: Release python package
2
3
on:
4
- push:
5
- tags:
6
- - "*"
+ release:
+ types:
+ - released
7
8
jobs:
9
deploy:
@@ -18,6 +18,8 @@ jobs:
18
uses: knowsuchagency/poetry-install@v1
19
env:
20
POETRY_VIRTUALENVS_CREATE: false
21
+ - name: Set version
22
+ run: poetry version "${{ github.ref_name }}"
23
- name: Release package
24
25
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
0 commit comments