Skip to content

Commit 9f4adc3

Browse files
committed
try combining generate notes and notes string
1 parent 6778c5c commit 9f4adc3

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/release.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,25 @@ jobs:
3838
name: extension-${{ github.sha }}
3939
path: workspace/extension/build/svelte-devtools.zip
4040

41-
# debug
42-
- run: echo ${{ github.event.head_commit.message }}
43-
- if: github.event.head_commit.message == '~ v${{ needs.manifest.outputs.version }}'
41+
- 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 }}'
4445
env:
4546
GH_TOKEN: ${{ github.token }}
4647
run: | # https://cli.github.com/manual/gh_release_create
4748
gh release create v3.0.0 \
4849
workspace/extension/build/svelte-devtools.zip \
4950
--title 3.0.0 \
50-
--draft --generate-notes
51+
--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+
54+
Built from ${{ github.event.head_commit.id }} at https://github.com/sveltejs/svelte-devtools/actions/runs/${{ github.run_id }}
55+
- Chrome Web Store: https://chrome.google.com/webstore/detail/svelte-devtools/kfidecgcdjjfpeckbblhmfkhmlgecoff
56+
- Firefox Signed Add-on: https://github.com/sveltejs/svelte-devtools/releases/download/v${{ needs.manifest.outputs.version }}/svelte-devtools.xpi
57+
58+
---
59+
'
5160
5261
# publish:
5362
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)