Skip to content

Commit 0c1b8d7

Browse files
committed
Prepare for pypi publish
1 parent 44aa189 commit 0c1b8d7

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/Publish.Pypi.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
types:
55
- created
66
- edited
7+
- published
78
jobs:
89
main:
910
runs-on: ubuntu-latest
@@ -21,10 +22,8 @@ jobs:
2122
- uses: docker://pandoc/core
2223
with:
2324
args: "-f docbook README.xml -t markdown_strict -o README.md"
24-
- name: Get latest tag
25-
uses: WyriHaximus/github-action-get-previous-tag@v1
26-
id: GetLatestTag
27-
- run: echo ${{ steps.GetLatestTag.outputs.tag }} > VERSION
25+
- name: Get VERSION
26+
run: echo ${{ env.GITHUB_REF }} > VERSION
2827
- name: Build
2928
run: python -m build
3029
- name: Publish

0 commit comments

Comments
 (0)