From b78485ed8b6c376341b893176c9e7d78a1e2e207 Mon Sep 17 00:00:00 2001 From: mag37 Date: Mon, 20 Feb 2023 11:35:51 +0100 Subject: [PATCH] version bump Changed version number to merge with main, also added some margins to the curl for version. --- dockcheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockcheck.sh b/dockcheck.sh index 2f2124b..dd34e2d 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash -VERSION="v0.1.8" +VERSION="v0.1.9" Github="https://github.com/mag37/dockcheck" ### Check if there's a new release of the script: -LatestRelease="$(curl -s -r 0-40 https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh | sed -n "/VERSION/s/VERSION=//p" | tr -d '"')" +LatestRelease="$(curl -s -r 0-50 https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh | sed -n "/VERSION/s/VERSION=//p" | tr -d '"')" [ "$VERSION" != "$LatestRelease" ] && printf "New version available! Latest: %s - Local: %s \nGrab it here: %s \n\n" "$LatestRelease" "$VERSION" "$Github" ### Help Function: