File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Publish to PyPI
2
2
on :
3
3
push :
4
4
tags :
5
- - ' *'
5
+ - ' *.*.* '
6
6
jobs :
7
7
build :
8
8
runs-on : ubuntu-latest
@@ -24,10 +24,12 @@ jobs:
24
24
poetry_publish_options : " --skip-existing"
25
25
26
26
- name : Create Release
27
- uses : actions/create- release@v1
27
+ uses : softprops/action-gh- release@v2
28
28
with :
29
- tag_name : ${{ github.ref }}
30
- release_name : ${{ github.ref }}
29
+ name : ${{ github.ref_name }}
30
+ tag_name : ${{ github.ref_name }}
31
+ files : ./dist/*
32
+ make_latest : true
31
33
body : |
32
- This is a release for the version ${{ github.ref }}.
33
- PyPI package: https://pypi.org/project/${{ github.repository }}/${{ github.ref }}
34
+ This is a release for the version ${{ github.ref_name }}.
35
+ PyPI package: https://pypi.org/project/${{ github.repository_name }}/${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments