chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:32:57 +08:00
commit cd420f9332
4811 changed files with 884702 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
set -eo pipefail
if [ -n "$SENTRY_ORG" ] && [ -n "$SENTRY_PROJECT" ] && [ -n "$SENTRY_AUTH_TOKEN" ] && [ -n "$SENTRY_RELEASE" ]; then
sentry-cli releases new $SENTRY_RELEASE
sentry-cli sourcemaps inject ./build
sentry-cli sourcemaps upload ./build --release $SENTRY_RELEASE
# Now we need to delete the sourcemaps from the build directory
rm -rf ./build/*.map
else
echo "Skipping sourcemap upload: Missing required environment variables"
echo "Required: SENTRY_ORG, SENTRY_PROJECT, SENTRY_AUTH_TOKEN, SENTRY_RELEASE"
fi