Manually run sentry-expo/upload-sourcemaps

Please provide the following:

  1. SDK Version: 37
  2. Platforms(Android/iOS/web/all): Android/iOS

I am not using expo publish so it doesn’t run my postPublish hook to get my sourcemap onto Sentry.

Is it possible to manually run the postPublish hook sentry-expo/upload-sourcemaps?

Are you using export instead? If you are, you can add the hook as a postExport hook instead

Otherwise, you can just install sentry-cli and upload your own sourcemaps?

Thanks Charlie. I build the apps for the stores and deploy them. expo build:*

Oh I didn’t know it was a sentry-cli thing. Is there steps for this? Ill start searching sentry-cli and it must have some docs. New to sentry.

expo build:* runs expo publish automatically btw, so you are likely publishing your apps

Ohh thank you!!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.