File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 2222 publish :
2323 runs-on : ubuntu-latest
2424 # Only allow publishing from master branch
25- if : github.ref == 'refs/heads/master'
25+ # TODO: Remove publish-actin before merging
26+ if : github.ref == 'refs/heads/master' || github.ref == 'refs/heads/publish-actin'
2627 permissions :
2728 contents : write
2829 steps :
6364 env :
6465 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
6566
67+ - name : Create GitHub Release
68+ if : ${{ inputs.dry_run == false }}
69+ run : |
70+ VERSION=$(node -p "require('./package.json').version")
71+ gh release create "v$VERSION" \
72+ --title "v$VERSION" \
73+ --generate-notes
74+ env :
75+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
76+
6677 - name : Dry run summary
6778 if : ${{ inputs.dry_run == true }}
6879 run : |
You can’t perform that action at this time.
0 commit comments