git reset hard to force tagged updates

This commit is contained in:
Heavybullets8 2022-08-25 22:16:44 -06:00
parent 01da1cef4a
commit fda0b7ca88

View File

@ -4,6 +4,7 @@ args=("$@")
self_update() { 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)") latest_ver=$(git describe --tags "$(git rev-list --tags --max-count=1)")
echo "🅂 🄴 🄻 🄵" echo "🅂 🄴 🄻 🄵"
echo "🅄 🄿 🄳 🄰 🅃 🄴" echo "🅄 🄿 🄳 🄰 🅃 🄴"