-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
backlogWe hope to fix this feature/bug in the futureWe hope to fix this feature/bug in the future
Description
Currently it appears to not be possible to upload sourcemaps conditionally for iOS.
Maybe the right question is "Why is there different logic for Android and IOS source map upload trigger?"
With Android it is possible via eas-build-on-success hook. Example:
package.json
"eas-build-on-success": "./eas-build-on-success.sh"
eas-build-on-success.sh
#!/bin/bash
if [[ "$EAS_BUILD_PROFILE" == "production" ]]; then
echo "Production profile detected."
npx bugsnag-eas-build-on-success
else
echo "Non-production profile detected. Skipping hook."
fi
Due to iOS not using this hook I cannot control the conditions for publishing release & uploading sourcemaps.
Let's harmonize the logic?
Metadata
Metadata
Assignees
Labels
backlogWe hope to fix this feature/bug in the futureWe hope to fix this feature/bug in the future