fetch before checking for new tags..
This commit is contained in:
parent
910cde158c
commit
3d8fafb75e
@ -3,8 +3,8 @@
|
|||||||
args=("$@")
|
args=("$@")
|
||||||
self_update() {
|
self_update() {
|
||||||
|
|
||||||
latest_ver=$(git describe --tags "$(git rev-list --tags --max-count=1)")
|
|
||||||
git fetch --tags &>/dev/null
|
git fetch --tags &>/dev/null
|
||||||
|
latest_ver=$(git describe --tags "$(git rev-list --tags --max-count=1)")
|
||||||
echo "🅂 🄴 🄻 🄵"
|
echo "🅂 🄴 🄻 🄵"
|
||||||
echo "🅄 🄿 🄳 🄰 🅃 🄴"
|
echo "🅄 🄿 🄳 🄰 🅃 🄴"
|
||||||
if [[ "$hs_version" != "$latest_ver" ]] ; then
|
if [[ "$hs_version" != "$latest_ver" ]] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user