3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2024-12-03 13:29:32 +01:00

Make sure force push always pushes something for each arg

This commit is contained in:
David Tolnay 2022-06-26 20:16:20 -07:00
parent 93373315d5
commit 61ed2ef585
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -27,6 +27,7 @@ for crate in "$@"; do
set -x
git tag --delete "$crate" &>/dev/null || true
git checkout --quiet origin/"$crate"
git commit --quiet --amend --no-edit
git rebase --quiet "$base"
)
push+=("$(git rev-parse HEAD):refs/heads/$crate")