File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 15
15
- uses : actions/checkout@v4
16
16
- id : extract
17
17
working-directory : ./workspace/extension/static
18
- run : echo version=v $(jq -r '.version' manifest.json) >> $GITHUB_OUTPUT
18
+ run : echo version=$(jq -r '.version' manifest.json) >> $GITHUB_OUTPUT
19
19
20
20
bundle :
21
21
runs-on : ubuntu-latest
38
38
name : extension-${{ github.sha }}
39
39
path : workspace/extension/build/svelte-devtools.zip
40
40
41
- - run : echo ${{ needs.manifest.outputs.version }}
42
- # - run: gh release create --draft
41
+ - if : github.event.head_commit.message == '~ v${{ needs.manifest.outputs.version }}'
42
+ run : | # https://cli.github.com/manual/gh_release_create
43
+ gh release create v${{ needs.manifest.outputs.version }} \
44
+ workspace/extension/build/svelte-devtools.zip \
45
+ --title ${{ needs.manifest.outputs.version }} \
46
+ --draft --generate-notes
43
47
44
48
# publish:
45
49
# runs-on: ubuntu-latest
You can’t perform that action at this time.
0 commit comments