From f9be60b24bbe26beea10982352a56c5971c6d36a Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Sun, 30 Aug 2026 17:15:37 -0400 Subject: [PATCH] Name the released ISO after its full candidate version --rc appended a bare -rc suffix regardless of the version passed, so every candidate of a train uploaded over the same omarchy-X.Y.Z-rc.iso and nobody could tell rc1 from rc2 by name or URL. A version that already numbers its candidate (4.0.2rc2) is the complete artifact name; the suffix remains for unnumbered candidate builds. --- bin/omarchy-iso-release | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/omarchy-iso-release b/bin/omarchy-iso-release index 751a13b..d093326 100755 --- a/bin/omarchy-iso-release +++ b/bin/omarchy-iso-release @@ -42,6 +42,14 @@ if [[ -z "${BUILD_VERSION-}" ]]; then exit 1 fi +# A version that already numbers its candidate (4.0.2rc2) is the complete +# artifact name; the bare -rc suffix exists only for an unnumbered candidate. +# Without this, every candidate of a train uploads over the same +# omarchy-X.Y.Z-rc.iso and testers cannot tell which rc they are holding. +if [[ $BUILD_VERSION == *rc* ]]; then + RELEASE_SUFFIX="" +fi + BUILD_ROOT=$(realpath "${BASH_SOURCE[0]%/*}/..") BUILD_RELEASE_PATH="$BUILD_ROOT/release"