diff --git a/src/brackets.config.dev.json b/src/brackets.config.dev.json index efe16154593..bebcd37a9a2 100644 --- a/src/brackets.config.dev.json +++ b/src/brackets.config.dev.json @@ -3,5 +3,6 @@ "analyticsDataServerURL" : "https://cc-api-data-stage.adobe.io/ingest", "serviceKey" : "brackets-service", "environment" : "stage", - "update_info_url" : "https://s3.amazonaws.com/files.brackets.io/updates/prerelease/.json" + "update_info_url" : "https://s3.amazonaws.com/files.brackets.io/updates/prerelease/.json", + "buildtype" : "dev" } diff --git a/src/brackets.config.dist.json b/src/brackets.config.dist.json index df7e8b28384..9fdc775054b 100644 --- a/src/brackets.config.dist.json +++ b/src/brackets.config.dist.json @@ -3,5 +3,6 @@ "analyticsDataServerURL" : "https://cc-api-data.adobe.io/ingest", "serviceKey" : "brackets-service", "environment" : "production", - "update_info_url" : "https://getupdates.brackets.io/getupdates/" + "update_info_url" : "https://getupdates.brackets.io/getupdates/", + "buildtype" : "production" } diff --git a/src/brackets.config.prerelease.json b/src/brackets.config.prerelease.json index 08d76fc1dda..ee527136d4b 100644 --- a/src/brackets.config.prerelease.json +++ b/src/brackets.config.prerelease.json @@ -2,6 +2,7 @@ "healthDataServerURL" : "https://health.brackets.io/healthDataLog", "analyticsDataServerURL" : "https://cc-api-data.adobe.io/ingest", "serviceKey" : "brackets-service", - "environment" : "prerelease", - "update_info_url" : "https://s3.amazonaws.com/files.brackets.io/updates/prerelease/.json" + "environment" : "production", + "update_info_url" : "https://s3.amazonaws.com/files.brackets.io/updates/prerelease/.json", + "buildtype" : "prerelease" } diff --git a/src/strings.js b/src/strings.js index 57c1b910ed3..2adeea6f291 100644 --- a/src/strings.js +++ b/src/strings.js @@ -56,7 +56,7 @@ define(function (require, exports, module) { if (isDevBuild) { additionalGlobals.BUILD_TYPE = strings.DEVELOPMENT_BUILD; } else { - if (brackets.config.environment === 'production') { + if (brackets.config.buildtype === 'production') { additionalGlobals.BUILD_TYPE = strings.RELEASE_BUILD; } else { additionalGlobals.BUILD_TYPE = strings.PRERELEASE_BUILD;