mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 14:30:22 +00:00
fix: not using SENTRY_RELEASE env
This commit is contained in:
parent
fbe1115508
commit
6b5251d684
@ -34,7 +34,6 @@ module.exports = {
|
|||||||
SENTRY_ORG &&
|
SENTRY_ORG &&
|
||||||
SENTRY_PROJECT &&
|
SENTRY_PROJECT &&
|
||||||
SENTRY_AUTH_TOKEN &&
|
SENTRY_AUTH_TOKEN &&
|
||||||
SENTRY_RELEASE &&
|
|
||||||
VERSION &&
|
VERSION &&
|
||||||
NODE_ENV === 'production'
|
NODE_ENV === 'production'
|
||||||
) {
|
) {
|
||||||
@ -45,7 +44,7 @@ module.exports = {
|
|||||||
ignore: ['node_modules'],
|
ignore: ['node_modules'],
|
||||||
stripPrefix: ['webpack://_N_E/'],
|
stripPrefix: ['webpack://_N_E/'],
|
||||||
urlPrefix: `~${basePath}/_next`,
|
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}`,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user