Skip to content

Commit 6e2d5a9

Browse files
fix releasing (3)
1 parent 3636dc9 commit 6e2d5a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ on:
33
push:
44
tags:
55
- v*
6-
branches:
7-
- master
86
permissions:
97
contents: read
108
jobs:
@@ -21,9 +19,11 @@ jobs:
2119
uses: abatilo/[email protected]
2220
- name: Install pypi deps
2321
run: poetry install
24-
- name: Version
22+
- name: Version according to tag
2523
run: poetry version ${{ github.event.release.tag_name }}
2624
- name: Build
2725
run: poetry build
26+
- name: Poetry publish config
27+
run: poetry config pypi-token.pypi $POETRY_HTTP_BASIC_PYPI_PASSWORD
2828
- name: Publish to PyPi
2929
run: poetry publish --dry-run

0 commit comments

Comments
 (0)