mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 16:40:16 +01:00
contrib/release: check whether access to master.gnome.org works before publishing release
This commit is contained in:
parent
1df683587a
commit
affff881e2
1 changed files with 8 additions and 1 deletions
|
|
@ -509,10 +509,17 @@ if [ "$RELEASE_MODE" = rc1 ]; then
|
|||
git checkout -B "$CUR_BRANCH" "$TMP_BRANCH" || die "cannot checkout $CUR_BRANCH"
|
||||
fi
|
||||
|
||||
do_command git push "$ORIGIN" "${BRANCHES[@]}" || die "failed to to push branches ${BRANCHES[@]} to $ORIGIN"
|
||||
if ! [ "$DRY_RUN" = 0 ]; then
|
||||
ssh master.gnome.org true || die "failed to \`ssh master.gnome.org\`"
|
||||
fi
|
||||
|
||||
for r in "${RELEASE_FILES[@]}"; do
|
||||
do_command rsync -va --append-verify -P "/tmp/$r" master.gnome.org: || die "failed to rsync \"/tmp/$r\""
|
||||
done
|
||||
|
||||
do_command git push "$ORIGIN" "${BRANCHES[@]}" || die "failed to to push branches ${BRANCHES[@]} to $ORIGIN"
|
||||
|
||||
for r in "${RELEASE_FILES[@]}"; do
|
||||
do_command ssh master.gnome.org ftpadmin install --unattended "$r" || die "ftpadmin install failed"
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue