From fda0b7ca882be2ba2c8df23c3bf60df16093f4cc Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Thu, 25 Aug 2022 22:16:44 -0600 Subject: [PATCH] git reset hard to force tagged updates --- functions/self_update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/self_update.sh b/functions/self_update.sh index 9c60d2b5..a0ee1d01 100644 --- a/functions/self_update.sh +++ b/functions/self_update.sh @@ -3,7 +3,8 @@ args=("$@") self_update() { -git fetch --tags &>/dev/null +git fetch --tags &>/dev/null +git reset --hard latest_ver=$(git describe --tags "$(git rev-list --tags --max-count=1)") echo "🅂 🄴 🄻 🄵" echo "🅄 🄿 🄳 🄰 🅃 🄴"