From ae9546dec0a2b06c7956ab9df9c03ca242ebc2df Mon Sep 17 00:00:00 2001 From: Jan Michael Auer Date: Wed, 29 Aug 2018 09:28:39 +0200 Subject: [PATCH] feat: Show link to diff after `craft release` --- src/commands/release.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/commands/release.ts b/src/commands/release.ts index 9f976e20..3112de21 100644 --- a/src/commands/release.ts +++ b/src/commands/release.ts @@ -438,6 +438,12 @@ export const handler = async (argv: ReleaseOptions) => { if (argv.publish) { await execPublish(newVersion); } else { + logger.info( + `View diff at: https://github.com/${githubConfig.owner}/${ + githubConfig.repo + }/compare/${branchName}` + ); + logger.success( 'Done. Do not forget to run "craft publish" to publish the artifacts:', ` $ craft publish ${newVersion}`