From 909aaf689c579df4e99d6bbe66bcb38e02cb6351 Mon Sep 17 00:00:00 2001 From: Filipe Date: Fri, 18 Oct 2024 11:47:28 +0100 Subject: [PATCH 1/5] update expo updates sourcemaps upload for bare workflow --- .../react-native/sourcemaps/uploading/expo.mdx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/platforms/react-native/sourcemaps/uploading/expo.mdx b/docs/platforms/react-native/sourcemaps/uploading/expo.mdx index beee8ea36f8a1..ed184372a305c 100644 --- a/docs/platforms/react-native/sourcemaps/uploading/expo.mdx +++ b/docs/platforms/react-native/sourcemaps/uploading/expo.mdx @@ -37,15 +37,25 @@ eas update To upload source maps for all platforms use the following command: ```bash +SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ \ +npx sentry-expo-upload-sourcemaps dist +``` + +To upload source maps without expo plugin (bare workflow): + +```bash +SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ \ SENTRY_PROJECT=___PROJECT_SLUG___ \ SENTRY_ORG=___ORG_SLUG___ \ -SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ \ +SENTRY_URL=https://sentry.io/ \ npx sentry-expo-upload-sourcemaps dist ``` + #### Notes - `dist` is the default output directory of `eas update`. +- Sentry Org, Sentry Project and Sentry Url are loaded by default from expo app config (app.json / app.config.js) and environment variables takes precence. - Uploaded source maps have no associated releases. This is expected as updates can apply to multiple releases. ## Notes From f22bfe68bfa831c0a1b3fe7e91ac6ae080f44b66 Mon Sep 17 00:00:00 2001 From: Filipe Date: Fri, 18 Oct 2024 11:59:53 +0100 Subject: [PATCH 2/5] Update expo.mdx --- docs/platforms/react-native/sourcemaps/uploading/expo.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/react-native/sourcemaps/uploading/expo.mdx b/docs/platforms/react-native/sourcemaps/uploading/expo.mdx index ed184372a305c..410f8180f7613 100644 --- a/docs/platforms/react-native/sourcemaps/uploading/expo.mdx +++ b/docs/platforms/react-native/sourcemaps/uploading/expo.mdx @@ -55,7 +55,7 @@ npx sentry-expo-upload-sourcemaps dist #### Notes - `dist` is the default output directory of `eas update`. -- Sentry Org, Sentry Project and Sentry Url are loaded by default from expo app config (app.json / app.config.js) and environment variables takes precence. +- Sentry Org, Sentry Project and Sentry Url are loaded from expo app config (app.json / app.config.js) if environment variable is not set. - Uploaded source maps have no associated releases. This is expected as updates can apply to multiple releases. ## Notes From 70705fb978a9ee3ed2fee249196ea342213de600 Mon Sep 17 00:00:00 2001 From: Filipe Date: Fri, 18 Oct 2024 12:00:35 +0100 Subject: [PATCH 3/5] Update expo.mdx --- docs/platforms/react-native/sourcemaps/uploading/expo.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/react-native/sourcemaps/uploading/expo.mdx b/docs/platforms/react-native/sourcemaps/uploading/expo.mdx index 410f8180f7613..f3b3b28c4c325 100644 --- a/docs/platforms/react-native/sourcemaps/uploading/expo.mdx +++ b/docs/platforms/react-native/sourcemaps/uploading/expo.mdx @@ -55,7 +55,7 @@ npx sentry-expo-upload-sourcemaps dist #### Notes - `dist` is the default output directory of `eas update`. -- Sentry Org, Sentry Project and Sentry Url are loaded from expo app config (app.json / app.config.js) if environment variable is not set. +- Sentry Org, Sentry Project and Sentry Url are loaded from expo plugin config (app.json / app.config.js) if environment variable is not set. - Uploaded source maps have no associated releases. This is expected as updates can apply to multiple releases. ## Notes From df5179de8fccea48543a8cf76c7e2c030fd0f96c Mon Sep 17 00:00:00 2001 From: Liza Mock Date: Mon, 21 Oct 2024 09:33:26 -0700 Subject: [PATCH 4/5] Update docs/platforms/react-native/sourcemaps/uploading/expo.mdx --- docs/platforms/react-native/sourcemaps/uploading/expo.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/react-native/sourcemaps/uploading/expo.mdx b/docs/platforms/react-native/sourcemaps/uploading/expo.mdx index f3b3b28c4c325..d7ec971ff330f 100644 --- a/docs/platforms/react-native/sourcemaps/uploading/expo.mdx +++ b/docs/platforms/react-native/sourcemaps/uploading/expo.mdx @@ -55,7 +55,7 @@ npx sentry-expo-upload-sourcemaps dist #### Notes - `dist` is the default output directory of `eas update`. -- Sentry Org, Sentry Project and Sentry Url are loaded from expo plugin config (app.json / app.config.js) if environment variable is not set. +- Sentry Org, Sentry Project and Sentry Url will be loaded from expo plugin config (app.json / app.config.js) if environment variable is not set. - Uploaded source maps have no associated releases. This is expected as updates can apply to multiple releases. ## Notes From 4bfccba39c1a5edb2787e209322349bf8392d44a Mon Sep 17 00:00:00 2001 From: Liza Mock Date: Tue, 22 Oct 2024 15:52:55 -0700 Subject: [PATCH 5/5] Update docs/platforms/react-native/sourcemaps/uploading/expo.mdx --- docs/platforms/react-native/sourcemaps/uploading/expo.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/react-native/sourcemaps/uploading/expo.mdx b/docs/platforms/react-native/sourcemaps/uploading/expo.mdx index d7ec971ff330f..0cfa6d9199c62 100644 --- a/docs/platforms/react-native/sourcemaps/uploading/expo.mdx +++ b/docs/platforms/react-native/sourcemaps/uploading/expo.mdx @@ -55,7 +55,7 @@ npx sentry-expo-upload-sourcemaps dist #### Notes - `dist` is the default output directory of `eas update`. -- Sentry Org, Sentry Project and Sentry Url will be loaded from expo plugin config (app.json / app.config.js) if environment variable is not set. +- Sentry Org, Sentry Project, and Sentry Url will be loaded from the expo plugin config (app.json / app.config.js) if the environment variable isn't set. - Uploaded source maps have no associated releases. This is expected as updates can apply to multiple releases. ## Notes