From 3d8fafb75ee3a9d5f8a7f317c226725eab4efbd8 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 23 Aug 2022 13:05:28 -0600 Subject: [PATCH] fetch before checking for new tags.. --- functions/self_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/self_update.sh b/functions/self_update.sh index c38a46bc..058f0640 100644 --- a/functions/self_update.sh +++ b/functions/self_update.sh @@ -3,8 +3,8 @@ args=("$@") self_update() { -latest_ver=$(git describe --tags "$(git rev-list --tags --max-count=1)") git fetch --tags &>/dev/null +latest_ver=$(git describe --tags "$(git rev-list --tags --max-count=1)") echo "🅂 🄴 🄻 🄵" echo "🅄 🄿 🄳 🄰 🅃 🄴" if [[ "$hs_version" != "$latest_ver" ]] ; then