diff --git a/scripts/aur.sh b/scripts/aur.sh index be1283b..448733b 100644 --- a/scripts/aur.sh +++ b/scripts/aur.sh @@ -49,7 +49,7 @@ then for i in {1..3} do info 'Pushing to the AUR' - git push origin "${aur_branch}" && return + git push origin "${aur_branch}" && exit 0 info "Push attempt $i failed, retrying..." done diff --git a/scripts/update.sh b/scripts/update.sh index e83b075..639c733 100644 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -50,7 +50,7 @@ then for i in {1..3} do info 'Pushing to main' - git push origin main && return + git push origin main && exit 0 info "Push attempt $i failed, retrying..." done