Skip to content

Commit

Permalink
Rename settings search build number per #36948 comment
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens authored and egamma committed Oct 31, 2017
1 parent 5ab4455 commit f6a002f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/gulpfile.vscode.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function computeChecksum(filename) {
return hash;
}

const buildNumber = getBuildNumber();
const settingsSearchBuildId = getBuildNumber();
function packageTask(platform, arch, opts) {
opts = opts || {};

Expand Down Expand Up @@ -276,7 +276,7 @@ function packageTask(platform, arch, opts) {

const date = new Date().toISOString();
const productJsonStream = gulp.src(['product.json'], { base: '.' })
.pipe(json({ commit, date, checksums, buildNumber }));
.pipe(json({ commit, date, checksums, settingsSearchBuildId }));

const license = gulp.src(['LICENSES.chromium.html', 'LICENSE.txt', 'ThirdPartyNotices.txt', 'licenses/**'], { base: '.' });

Expand Down Expand Up @@ -461,7 +461,7 @@ gulp.task('upload-vscode-configuration', ['generate-vscode-configuration'], () =
return;
}

if (!buildNumber) {
if (!settingsSearchBuildId) {
console.error('Failed to compute build number');
return;
}
Expand All @@ -471,7 +471,7 @@ gulp.task('upload-vscode-configuration', ['generate-vscode-configuration'], () =
account: process.env.AZURE_STORAGE_ACCOUNT,
key: process.env.AZURE_STORAGE_ACCESS_KEY,
container: 'configuration',
prefix: `${buildNumber}/${commit}/`
prefix: `${settingsSearchBuildId}/${commit}/`
}));
});

Expand Down

0 comments on commit f6a002f

Please sign in to comment.