Branch: refs/heads/master
Home: https://github.com/phpmyadmin/scripts
Commit: e937e32e8c057dda072c980b48cc452e3eed3b17
https://github.com/phpmyadmin/scripts/commit/e937e32e8c057dda072c980b48cc452e3eed3b17
Author: William Desportes <[email protected]>
Date: 2026-10-21 (Wed, 10 October 2026) +02:00

Changed paths: 
M demo/bin/pma-demo-build

Log Message:
-----------
demo: clear the release directory a failed build leaves behind

create-release.sh builds in release/ inside the worktree and refuses to
start when that directory is already there:

  Working directory 'release/phpMyAdmin-6.0.0-dev' already exists, please move
  it out of the way

It leaves the directory behind when it fails, and its own worktree prune drops
the registration, so the next run cannot even find it as a stale worktree to
delete. Every later build of that branch then dies before doing anything.

Wipe the directory before calling the release script. It is only build output,
so starting from a clean slate is safe, and it heals both kinds of leftovers:
the directory with its registration and the directory without it.

The release script was also piped into a while loop, so its exit status went
through pipefail to set -e and aborted the whole run: a broken QA_5_2 stopped
master and STABLE from being published. A failing branch is now logged and
skipped, and the run carries on with the next variant.

Co-authored-by: DeepSeek <[email protected]>

_______________________________________________
Git mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to