File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ const { createVSIX } = require('vsce');
3838 options = { extensionFile : context . file } ;
3939 } else if ( context . repo && context . ref ) {
4040 console . log ( `${ id } : preparing from ${ context . repo } ...` ) ;
41- await exec ( `git checkout ${ context . ref } ` , { cwd : context . repo } ) ;
41+ await exec ( `git checkout ${ extension . checkout || context . ref } ` , { cwd : context . repo } ) ;
4242 let yarn = await new Promise ( resolve => {
4343 fs . access ( path . join ( context . repo , 'yarn.lock' ) , error => resolve ( ! error ) ) ;
4444 } ) ;
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ export interface Extensions {
5555export interface Extension {
5656 id : string ,
5757 repository ?: string
58+ checkout ?: string
5859 location ?: string
5960 prepublish ?: string
6061 extensionFile ?: string
You can’t perform that action at this time.
0 commit comments