Fix Sentry release configuration (#11813)

The Sentry `release` was not being configured correctly. It was being
left blank. This is because the location of the extension version was
moved in #11029. The build script was correctly updated in that PR, but
that work was accidentally undone in a merge error that was included
in #11080.
feature/default_network_editable
Mark Stacey 3 years ago committed by GitHub
parent 82141f1fb1
commit 1f4d26d982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      development/build/scripts.js

@ -36,7 +36,7 @@ const metamaskrc = require('rc')('metamask', {
});
const { streamFlatMap } = require('../stream-flat-map.js');
const baseManifest = require('../../app/manifest/_base.json');
const { version } = require('../../package.json');
const {
createTask,
composeParallel,
@ -522,7 +522,7 @@ function getEnvironmentVariables({ devMode, testing }) {
return {
METAMASK_DEBUG: devMode,
METAMASK_ENVIRONMENT: environment,
METAMASK_VERSION: baseManifest.version,
METAMASK_VERSION: version,
NODE_ENV: devMode ? 'development' : 'production',
IN_TEST: testing ? 'true' : false,
PUBNUB_SUB_KEY: process.env.PUBNUB_SUB_KEY || '',

Loading…
Cancel
Save