fix: make release-mac.sh idempotent for re-runs #23

Merged
adrianbonpin merged 1 commits from fix/release-mac-idempotent into prod 2026-09-04 04:10:31 +00:00
Owner

The script crashed on re-run: git clone ... /tmp/mariadb-server fails when the dir is non-empty (leftover from an earlier build — /tmp isn't auto-cleared without a reboot). Clear stale dirs before clone/extract so failed builds can be re-run without manual cleanup.

The script crashed on re-run: `git clone ... /tmp/mariadb-server` fails when the dir is non-empty (leftover from an earlier build — /tmp isn't auto-cleared without a reboot). Clear stale dirs before clone/extract so failed builds can be re-run without manual cleanup.
adrianbonpin added 1 commit 2026-09-04 04:10:22 +00:00
git clone fails on a non-empty /tmp/mariadb-server (left over from an
earlier build on the same machine), crashing the script mid-way. Clear
the stale MariaDB dir before cloning and the stale PostgreSQL build dirs
before extracting.
adrianbonpin merged commit 1d8dfce99a into prod 2026-09-04 04:10:31 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adrianbonpin/gridline#23