File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ const assign = require('object-assign');
2929const monacodts = require ( './build/monaco/api' ) ;
3030const fs = require ( 'fs' ) ;
3131const glob = require ( 'glob' ) ;
32+ const pkg = require ( './package.json' ) ;
3233
3334const rootDir = path . join ( __dirname , 'src' ) ;
3435const 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' ] ;
Original file line number Diff line number Diff line change 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 },
You can’t perform that action at this time.
0 commit comments