File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 7575 if : ${{ steps.info.outputs.isNewVersion }}
7676 run : npm run pack
7777
78- - name : Create Tag
79- if : ${{ steps.info.outputs.isNewVersion }}
80- run : |
81- git tag -a v${{ steps.info.outputs.version }} -m "chore(release): v${{ steps.info.outputs.version }}"
82- git push origin v${{ steps.info.outputs.version }} --no-verify
83-
8478 - name : Build Release Notes
8579 if : ${{ steps.info.outputs.isNewVersion }}
8680 id : release-notes
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Release Handler (NPM)
22
33on :
44 release :
5- types : [ created ]
5+ types : [published ]
66 workflow_dispatch :
77
88permissions :
1414
1515jobs :
1616 publish :
17- # Run if release is not a draft or run through workflow_dispatch
18- if : ${{ github.event.release.draft == false || github.event_name == 'workflow_dispatch' }}
19-
2017 name : Publish (NPM)
2118 runs-on : ubuntu-latest
2219
You can’t perform that action at this time.
0 commit comments