Skip to content

Commit 37ffe70

Browse files
committed
add spinner when fetching the proposal
1 parent a9512d0 commit 37ffe70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/promote_release.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,11 @@ export default class ReleasePromotion extends Session {
6969
}
7070
if (!localCloneIsClean) {
7171
if (await cli.prompt('Should we reset the local HEAD to be the release proposal?')) {
72+
cli.startSpinner('Fetching the proposal upstream...');
7273
await forceRunAsync('git', ['fetch', this.upstream, releaseCommitSha],
7374
{ ignoreFailure: false });
7475
await forceRunAsync('git', ['reset', releaseCommitSha, '--hard'], { ignoreFailure: false });
76+
cli.stopSpinner('Local HEAD is now in sync with the proposal');
7577
} else {
7678
cli.error('Local clone is not ready');
7779
throw new Error('Aborted');

0 commit comments

Comments
 (0)