From 6b5251d684d2d7efa045ca6afcacdebf5a25b55e Mon Sep 17 00:00:00 2001 From: wonderlandpark Date: Tue, 13 Apr 2021 13:56:37 +0900 Subject: [PATCH] fix: not using SENTRY_RELEASE env --- next.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/next.config.js b/next.config.js index 4d2eea4..db597be 100644 --- a/next.config.js +++ b/next.config.js @@ -34,7 +34,6 @@ module.exports = { SENTRY_ORG && SENTRY_PROJECT && SENTRY_AUTH_TOKEN && - SENTRY_RELEASE && VERSION && NODE_ENV === 'production' ) { @@ -45,7 +44,7 @@ module.exports = { ignore: ['node_modules'], stripPrefix: ['webpack://_N_E/'], urlPrefix: `~${basePath}/_next`, - release: `${SENTRY_RELEASE === 'stable' ? VERSION : SOURCE_COMMIT || VERSION}-${SOURCE_BRANCH || SENTRY_RELEASE}`, + release: `${SOURCE_BRANCH === 'stable' ? VERSION : SOURCE_COMMIT || VERSION}-${SOURCE_BRANCH || SENTRY_RELEASE}`, }) ) }