Skip to content

Commit c524ef6

Browse files
committed
lock distro version
1 parent 3a68ded commit c524ef6

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const assign = require('object-assign');
2929
const monacodts = require('./build/monaco/api');
3030
const fs = require('fs');
3131
const glob = require('glob');
32+
const pkg = require('./package.json');
3233

3334
const rootDir = path.join(__dirname, 'src');
3435
const options = require('./src/tsconfig.json').compilerOptions;
@@ -215,7 +216,7 @@ gulp.task('mixin', function () {
215216
return;
216217
}
217218

218-
const url = 'https://github.com/' + repo + '/archive/master.zip';
219+
const url = `https://github.com/${ repo }/archive/${ pkg.distro }.zip`;
219220
const opts = { base: '' };
220221
const username = process.env['VSCODE_MIXIN_USERNAME'];
221222
const password = process.env['VSCODE_MIXIN_PASSWORD'];

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "code-oss-dev",
33
"version": "1.5.0",
44
"electronVersion": "0.37.6",
5+
"distro": "c26eaaa8f54b3209a1e2418c9b1010cca4650620",
56
"author": {
67
"name": "Microsoft Corporation"
78
},

0 commit comments

Comments
 (0)