I resolve this issue in my project to make these changes.
first I go to https://sentry.io/settings/masaar/ in setting top organization slug, then copy organization slug and add org: __SLUG__ line
config.plugins.push(
new SentryCliPlugin({
urlPrefix: SENTRY_PREFIX,
rewrite: true,
org: '__SLUG__',
cleanArtifacts: true,
release: `com.iklix.klix@${appVersion}+${buildNumber}`,
dist: `${buildNumber}.${platform}`,
ignoreFile: '.sentrycliignore',
include: [dist, join(dist, SOURCEMAP_REL_DIR)],
})
);
then I get this error error: A project slug is required. then I resolve this error using to add org: __SLUG__ line in
config.plugins.push(
new webpack.SourceMapDevToolPlugin({
org: '__SLUG__',
append: `\n//# sourceMappingURL=${SENTRY_PREFIX}[name].js.map`,
filename: join(SOURCEMAP_REL_DIR, '[name].js.map'),
})
);
now my project is successful build release version.
Reference : https://github.com/getsentry/sentry-cli/issues/179
sorry for weak English.
I resolve this issue in my project to make these changes.
first I go to
https://sentry.io/settings/masaar/in setting top organization slug, then copyorganization slugand addorg: __SLUG__linethen I get this error
error: A project slug is required. then I resolve this error using to addorg: __SLUG__line innow my project is successful build release version.
Reference :
https://github.com/getsentry/sentry-cli/issues/179sorry for weak English.