@@ -151,7 +151,7 @@ class ReleasePromotion {
151
151
const keyPath = await cli . prompt (
152
152
`Please enter the path to your ssh key (Default ${ defaultKeyPath } ): ` ,
153
153
{ questionType : 'input' , defaultAnswer : defaultKeyPath } ) ;
154
- await this . promoteAndSignRelease ( keyPath ) ;
154
+ this . promoteAndSignRelease ( keyPath ) ;
155
155
156
156
cli . separator ( ) ;
157
157
cli . ok ( `Release promotion for ${ version } complete.\n` ) ;
@@ -298,12 +298,12 @@ class ReleasePromotion {
298
298
const releaseBranch = `v${ versionComponents . major } .x` ;
299
299
const proposalBranch = `v${ version } -proposal` ;
300
300
301
- runSync ( 'git' , [ 'checkout' , releaseBranch ] ) ;
302
- runSync ( 'git' , [ 'merge' , '--ff-only' , proposalBranch ] ) ;
303
- runSync ( 'git' , [ 'push' , 'upstream' , releaseBranch ] ) ;
304
- runSync ( 'git' , [ 'checkout' , stagingBranch ] ) ;
305
- runSync ( 'git' , [ 'rebase' , releaseBranch ] ) ;
306
- runSync ( 'git' , [ 'push' , 'upstream' , stagingBranch ] ) ;
301
+ await runAsync ( 'git' , [ 'checkout' , releaseBranch ] ) ;
302
+ await runAsync ( 'git' , [ 'merge' , '--ff-only' , proposalBranch ] ) ;
303
+ await runAsync ( 'git' , [ 'push' , 'upstream' , releaseBranch ] ) ;
304
+ await runAsync ( 'git' , [ 'checkout' , stagingBranch ] ) ;
305
+ await runAsync ( 'git' , [ 'rebase' , releaseBranch ] ) ;
306
+ await runAsync ( 'git' , [ 'push' , 'upstream' , stagingBranch ] ) ;
307
307
}
308
308
309
309
pushReleaseTag ( ) {
@@ -321,7 +321,7 @@ class ReleasePromotion {
321
321
// Since we've committed the Working On commit, the release
322
322
// commit will be 1 removed from tip-of-tree (e.g HEAD~1).
323
323
const releaseCommitSha = this . getCommitSha ( 1 ) ;
324
- runSync ( 'git' , [ 'checkout' , 'master' ] ) ;
324
+ runAsync ( 'git' , [ 'checkout' , 'master' ] ) ;
325
325
326
326
// Pull master from upstream, in case it's not up-to-date.
327
327
runSync ( 'git' , [ 'pull' , '--rebase' , 'upstream' , 'master' ] ) ;
0 commit comments