testing self update again

This commit is contained in:
Heavybullets8 2022-07-28 14:06:40 -06:00
parent 2adbf8d1f7
commit 21baeaf4d8

View File

@ -4,7 +4,7 @@ args=("$@")
self_update() { self_update() {
git fetch &> /dev/null git fetch &> /dev/null
echo "🅂 🄴 🄻 🄵 🅄 🄿 🄳 🄰 🅃 🄴 :" echo "🅂 🄴 🄻 🄵 🅄 🄿 🄳 🄰 🅃 🄴 :"
# TODO: change beta to main once testing is complete # TODO: change beta to main once testing is complete
if git diff --name-only origin/beta | grep -qs ".sh" ; then if git diff --name-only origin/beta | grep -qs ".sh" ; then
echo "Found a new version of HeavyScript, updating myself..." echo "Found a new version of HeavyScript, updating myself..."
git reset --hard -q git reset --hard -q