fetch before checking for new tags..

This commit is contained in:
Heavybullets8 2022-08-23 13:05:28 -06:00
parent 910cde158c
commit 3d8fafb75e

View File

@ -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