@@ -250,7 +250,7 @@ export default class GitAdapter extends CachingAdapter {
250250 Logger . log ( '(git) tag ' + tag )
251251 await git . tag ( { fs : this . fs , dir : this . dir , ref : tag } )
252252 Logger . log ( '(git) push tag ' + tag )
253- const result = await git . push ( { fs : this . fs , http, dir : this . dir , ref : tag , onAuth : ( ) => this . onAuth ( ) } )
253+ const result = await git . push ( { fs : this . fs , http, dir : this . dir , ref : tag , remote : 'origin' , onAuth : ( ) => this . onAuth ( ) } )
254254 if ( result . error ) {
255255 throw new GitPushError ( result . error )
256256 }
@@ -275,7 +275,7 @@ export default class GitAdapter extends CachingAdapter {
275275 for ( const tag of this . locked ) {
276276 Logger . log ( '(git) push: delete tag ' + tag )
277277 // Ignoring result.error
278- await git . push ( { fs : this . fs , http, dir : this . dir , ref : tag , delete : true , onAuth : ( ) => this . onAuth ( ) } )
278+ await git . push ( { fs : this . fs , http, dir : this . dir , ref : tag , delete : true , remote : 'origin' , onAuth : ( ) => this . onAuth ( ) } )
279279 }
280280 this . locked = [ ]
281281 return true
@@ -292,7 +292,7 @@ export default class GitAdapter extends CachingAdapter {
292292 const lockTags = tags . filter ( tag => tag . startsWith ( 'floccus-lock-' ) )
293293 for ( const tag of lockTags ) {
294294 // ignoring result.error
295- await git . push ( { fs, http, dir : this . dir , ref : tag , delete : true , onAuth : ( ) => this . onAuth ( ) } )
295+ await git . push ( { fs, http, dir : this . dir , ref : tag , delete : true , remote : 'origin' , onAuth : ( ) => this . onAuth ( ) } )
296296 }
297297 }
298298
0 commit comments