Skip to content

Commit 81c0a21

Browse files
committed
refactor: update release report
1 parent 900b253 commit 81c0a21

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

lib/package/release.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ export default class Publish {
178178
if ( this.#isMajorRelease ) {
179179
console.log( `New release branch "${ this.#newReleaseBranch }" will be created` );
180180
}
181+
181182
console.log();
182183

183184
if ( subPackages.length ) {
@@ -193,23 +194,27 @@ export default class Publish {
193194
res = await confirm( "No changes since the previous release.\nContinue the release process?", [ "yes", "[no]" ] );
194195

195196
if ( res !== "yes" ) return result( [ 400, "Terminated" ] );
197+
198+
console.log();
196199
}
197200

198201
// confirm no notable changes
199202
else if ( !this.#yes && !this.#changelog.hasNotableChanges ) {
200203
res = await confirm( "No notable changes since the previous release.\nContinue the release process?", [ "yes", "[no]" ] );
201204

202205
if ( res !== "yes" ) return result( [ 400, "Terminated" ] );
206+
207+
console.log();
203208
}
204209

205210
// confirm release
206211
else if ( !this.#yes ) {
207212
res = await confirm( "Continue the release process?", [ "[yes]", "no" ] );
208213

209214
if ( res !== "yes" ) return result( [ 400, "Terminated" ] );
210-
}
211215

212-
console.log();
216+
console.log();
217+
}
213218

214219
// run tests
215220
res = this.#pkg.test( { "log": true } );

0 commit comments

Comments
 (0)