@@ -5,7 +5,7 @@ const { promises: fs } = require('fs');
5
5
const semver = require ( 'semver' ) ;
6
6
7
7
const { getMergedConfig } = require ( './config' ) ;
8
- const { runSync } = require ( './run' ) ;
8
+ const { runSync, runAsync } = require ( './run' ) ;
9
9
const auth = require ( './auth' ) ;
10
10
const PRData = require ( './pr_data' ) ;
11
11
const PRChecker = require ( './pr_checker' ) ;
@@ -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
- this . promoteAndSignRelease ( keyPath ) ;
154
+ await this . promoteAndSignRelease ( keyPath ) ;
155
155
156
156
cli . separator ( ) ;
157
157
cli . ok ( `Release promotion for ${ version } complete.\n` ) ;
@@ -313,8 +313,8 @@ class ReleasePromotion {
313
313
return runSync ( 'git' , [ 'push' , 'upstream' , tagVersion ] ) ;
314
314
}
315
315
316
- promoteAndSignRelease ( keyPath ) {
317
- return runSync ( './tools/release.sh' , [ '-i' , keyPath ] ) ;
316
+ async promoteAndSignRelease ( keyPath ) {
317
+ await runAsync ( './tools/release.sh' , [ '-i' , keyPath ] ) ;
318
318
}
319
319
320
320
cherryPickToMaster ( ) {
0 commit comments