From 60218b0d8a030c717caeb6f4c6cd9f7016ba53d3 Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Wed, 11 Feb 2026 00:33:26 +0000 Subject: [PATCH] fix(craft): use regex pattern for binary artifact matching MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .craft.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.craft.yml b/.craft.yml index fb7e437b..7228fa92 100644 --- a/.craft.yml +++ b/.craft.yml @@ -10,7 +10,7 @@ artifactProvider: config: artifacts: Build: - - 'sentry-*' + - '/^sentry-.*$/' - 'npm-package' - 'gh-pages' targets: