File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -74,14 +74,15 @@ jobs:
74
74
inputs : >-
75
75
./dist/*.tar.gz
76
76
./dist/*.whl
77
- - name : Create GitHub Release
77
+ - name : Create or Update GitHub Release
78
78
env :
79
79
GITHUB_TOKEN : ${{ github.token }}
80
80
run : >-
81
- gh release create
82
- '${{ github.ref_name }}'
83
- --repo '${{ github.repository }}'
84
- --notes ""
81
+ if gh release view '${{ github.ref_name }}' --repo '${{ github.repository }}' > /dev/null 2>&1; then
82
+ gh release edit '${{ github.ref_name }}' --repo '${{ github.repository }}' --notes ""
83
+ else
84
+ gh release create '${{ github.ref_name }}' --repo '${{ github.repository }}' --notes ""
85
+ fi
85
86
- name : Upload artifact signatures to GitHub Release
86
87
env :
87
88
GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " mocca2"
7
- version = " 0.1.13 "
7
+ version = " 0.1.17 "
8
8
authors = [
9
9
{
name =
" Jan Oboril" ,
email =
" [email protected] " },
10
10
]
You can’t perform that action at this time.
0 commit comments