From 8f7513b1033ca03e82d63f9663ab73ea0fd2f722 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sat, 17 Apr 2021 14:49:29 +0200 Subject: [PATCH] v30 --- CHANGELOG.md | 4 ++-- src/handlers/upgrade.ts | 4 ++-- src/index.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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