Browse Source

Link changelog for new update

master
Leo Lamprecht 8 years ago
parent
commit
f3b2324039
No known key found for this signature in database GPG Key ID: B08517883D5E0E10
  1. 3
      bin/now.js

3
bin/now.js

@ -32,7 +32,8 @@ if (!process.pkg && pkg.dist) {
const update = notifier.update
let message = `Update available! ${chalk.red(update.current)}${chalk.green(update.latest)} \n`
message += `Run ${chalk.magenta('npm i -g now')} to update!`
message += `Run ${chalk.magenta('npm i -g now')} to update!\n`
message += `${chalk.magenta('Changelog:')} https://github.com/zeit/now-cli/releases/tag/${update.latest}`
notifier.notify({message})
}

Loading…
Cancel
Save