File tree Expand file tree Collapse file tree 1 file changed +9
-17
lines changed
.github/actions/release-github Expand file tree Collapse file tree 1 file changed +9
-17
lines changed Original file line number Diff line number Diff line change @@ -33,20 +33,12 @@ runs:
3333 ls -l pybuild-work/dist/version || true
3434 ls -l pybuild-work/dist/*.tar.gz || true
3535
36- - name : tag check not dev
37- if : github.ref_type == 'tag' && (! contains(github.ref_name, '.dev'))
38- shell : bash
39- env :
40- TAG : ${{ github.ref_name }}
41- run : |
42- echo "tag is \"${TAG}\""
43-
44-
45- # - name: GitHub Release
46- # if: github.ref_type == 'tag' && github.ref_name ...
47- # uses: softprops/action-gh-release@v2
48- # with:
49- # files: |
50- # pybuild-work/dist/*.whl
51- # pybuild-work/dist/version
52- # pybuild-work/dist/*.tar.gz
36+ - name : GitHub Release
37+ # only run if this is a tag event, the tag starts with 'v', and does not include '.dev'
38+ if : github.ref_type == 'tag' && startsWith(github.ref_name, 'v') && (! contains(github.ref_name, '.dev'))
39+ uses : softprops/action-gh-release@v2
40+ with :
41+ files : |
42+ pybuild-work/dist/*.whl
43+ pybuild-work/dist/version
44+ pybuild-work/dist/*.tar.gz
You can’t perform that action at this time.
0 commit comments