Commit 60218b0
committed
fix(craft): use regex pattern for binary artifact matching
Craft's patternToRegexp() treats plain strings as exact matches, escaping
special characters like *. The pattern 'sentry-*' was being converted to
/^sentry\-\*$/ which only matches the literal string 'sentry-*', not
artifact names like 'sentry-linux-x64' or 'sentry-darwin-arm64'.
This caused the 0.9.0 release to ship without any platform binaries —
only gh-pages and npm-package (exact name matches) were uploaded.
Use Craft's regex syntax ('/^sentry-.*$/') so the pattern is parsed as
an actual regex that matches all sentry-prefixed artifacts.1 parent 00e589e commit 60218b0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments