# EAS Update + Sentry Sourcemap upload 1. Copy the TS file into your app. I put it in `scripts/eas-update.ts` 2. Call the script with `npx ts-node scripts/eas-update.ts ` ```sh npx ts-node scripts/eas-update.ts npx eas-cli@latest update -p ios ``` You should provide the following env variables too: - EAS_UPDATE_MESSAGE - EAS_UPDATE_BRANCH ```sh EAS_UPDATE_MESSAGE="works!" EAS_UPDATE_BRANCH=staging npx ts-node scripts/eas-update.ts npx eas-cli@latest update -p ios ``` All set. Be sure to call this script from the root of your Expo app. For instance, you might add the following to your `package.json`'s `scripts`: ```json { "scripts": { "eas-update": "npx ts-node scripts/eas-update.ts npx eas-cli@latest update -p ios" } } ``` If you do that, just be sure to set `EAS_UPDATE_MESSAGE` and `EAS_UPDATE_BRANCH` when calling `yarn eas-update`. # Context Meant to solve this issue: https://github.com/expo/sentry-expo/issues/253 Tested with SDK 48 and it's working for me.