Skip to content

Commit f8a4a7f

Browse files
committed
finalize
1 parent 9f4adc3 commit f8a4a7f

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,24 +39,20 @@ jobs:
3939
path: workspace/extension/build/svelte-devtools.zip
4040

4141
- if: |
42-
github.repository == 'sveltejs/svelte-devtools'
43-
# github.event_name == 'push' && github.ref == 'refs/heads/master' &&
44-
# github.event.head_commit.message == '~ v${{ needs.manifest.outputs.version }}'
42+
github.repository == 'sveltejs/svelte-devtools' &&
43+
github.event_name == 'push' && github.ref == 'refs/heads/master' &&
44+
github.event.head_commit.message == '~ v${{ needs.manifest.outputs.version }}'
4545
env:
4646
GH_TOKEN: ${{ github.token }}
4747
run: | # https://cli.github.com/manual/gh_release_create
48-
gh release create v3.0.0 \
48+
gh release create v${{ needs.manifest.outputs.version }} \
4949
workspace/extension/build/svelte-devtools.zip \
50-
--title 3.0.0 \
50+
--title ${{ needs.manifest.outputs.version }} \
5151
--draft --generate-notes --notes '
52-
**Full Changelog**: https://github.com/sveltejs/svelte-devtools/compare/$(gh release list --exclude-drafts --json tagName --jq .[0].tagName)...v${{ needs.manifest.outputs.version }}
53-
5452
Built from ${{ github.event.head_commit.id }} at https://github.com/sveltejs/svelte-devtools/actions/runs/${{ github.run_id }}
5553
- Chrome Web Store: https://chrome.google.com/webstore/detail/svelte-devtools/kfidecgcdjjfpeckbblhmfkhmlgecoff
5654
- Firefox Signed Add-on: https://github.com/sveltejs/svelte-devtools/releases/download/v${{ needs.manifest.outputs.version }}/svelte-devtools.xpi
57-
58-
---
59-
'
55+
---'
6056
6157
# publish:
6258
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)