Skip to content

Commit

Permalink
Handle successful pushes correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed Oct 30, 2023
1 parent aa3344f commit 7fa87f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/aur.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ then
for i in {1..3}
do
info 'Pushing to the AUR'
git push origin "${aur_branch}" && break
git push origin "${aur_branch}" && return
info "Push attempt $i failed, retrying..."
done

Expand Down
2 changes: 1 addition & 1 deletion scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ then
for i in {1..3}
do
info 'Pushing to main'
git push origin main && break
git push origin main && return
info "Push attempt $i failed, retrying..."
done

Expand Down

0 comments on commit 7fa87f4

Please sign in to comment.