Skip to content

Commit ab8b724

Browse files
committed
try wrapping in function
1 parent 91b5b6a commit ab8b724

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yaml

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

41-
- if: github.ref == 'refs/heads/master'
41+
- if: |
42+
github.repository == 'sveltejs/svelte-devtools' &&
43+
github.event_name == 'push' && github.ref == 'refs/heads/master' &&
44+
startsWith(github.event.head_commit.message, '~ v${{ needs.manifest.outputs.version }}')
4245
env:
4346
GH_TOKEN: ${{ github.token }}
4447
run: | # https://cli.github.com/manual/gh_release_create

0 commit comments

Comments
 (0)