mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 20:40:06 +01:00
contrib: don't abort on first error during ftpadmin install
With "rc1" mode, we install more than one tarballs (the one for 1.37.90 and 1.39.0). If we reach this point, we already pushed the git tags. There is no way back. Ignore errors at first and try to release all tarballs. Only signal the error at the end.
This commit is contained in:
parent
5b6311ea07
commit
7003b5eb70
1 changed files with 5 additions and 1 deletions
|
|
@ -548,9 +548,13 @@ done
|
|||
|
||||
do_command git push "$ORIGIN" "${BRANCHES[@]}" || die "failed to to push branches ${BRANCHES[@]} to $ORIGIN"
|
||||
|
||||
FAIL=0
|
||||
for r in "${RELEASE_FILES[@]}"; do
|
||||
do_command ssh master.gnome.org ftpadmin install --unattended "$r" || die "ftpadmin install failed"
|
||||
do_command ssh master.gnome.org ftpadmin install --unattended "$r" || FAIL=1
|
||||
done
|
||||
if [ "$FAIL" = 1 ]; then
|
||||
die "ftpadmin install failed. This was the last step. Invoke the command manually"
|
||||
fi
|
||||
|
||||
CLEANUP_CHECKOUT_BRANCH=
|
||||
if [ "$DRY_RUN" = 0 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue