diff --git a/CHANGELOG.md b/CHANGELOG.md index 4702962..e2b05cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ -## 0.27 +## 0.30 -- fix locking issue +- prepare for new updates diff --git a/src/handlers/upgrade.ts b/src/handlers/upgrade.ts index 675f8ca..9273521 100644 --- a/src/handlers/upgrade.ts +++ b/src/handlers/upgrade.ts @@ -38,9 +38,9 @@ export async function upgrade() { chmodSync(to, 0o755) } else { - w.appendLn('Newer major version available, will not install automatically.') + w.done('Newer major version available, will not install automatically.\nDownload: https://github.com/cupcakearmy/autorestic') + return } } - w.done('All up to date! 🚀') } diff --git a/src/index.ts b/src/index.ts index 8077f0e..92e5bd4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,7 +17,7 @@ import install from './handlers/install' import { uninstall } from './handlers/uninstall' import { upgrade } from './handlers/upgrade' -export const VERSION = '0.29' +export const VERSION = '0.30' export const INSTALL_DIR = '/usr/local/bin' let requireConfig: boolean = true