From 02f8d1cf50acd5b0b66b9c16ac7120f3dbe2b91c Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Sun, 30 Aug 2026 14:15:01 -0400 Subject: [PATCH] Stop the ISO release when a step fails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit omarchy-iso-release ran every step unconditionally: when docker denied the build, it fell through to signing and uploading the newest stale *-rc.iso from release/ under the new release's name — a six-month-old ISO shipped as omarchy-4.0.2-rc.iso. set -e ends the release at the first failed step, and also aborts when release/ holds no ISO for the ref at all. --- bin/omarchy-iso-release | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/omarchy-iso-release b/bin/omarchy-iso-release index b0423fa..7d2a154 100755 --- a/bin/omarchy-iso-release +++ b/bin/omarchy-iso-release @@ -1,5 +1,10 @@ #!/bin/bash +# A failed step must stop the release: without this, a make that dies (say, +# docker permission denied) falls through to signing and uploading whatever +# stale ISO release/ already holds, under the new release's name. +set -e + MAKE_ARGS=() ISO_REF=quattro RELEASE_SUFFIX=""