Cut the rc ISO under its numbered candidate version
cmd_rc handed maybe_iso the bare train version, so omarchy-iso-release named every candidate omarchy-X.Y.Z-rc.iso — rc2 uploaded over rc1's URL. Pass the pinned rcN version instead; paired with omarchy-iso's f9be60b, the artifact becomes omarchy-4.0.2rc2.iso. The ship path keeps passing the final version.
This commit is contained in:
+3
-3
@@ -659,13 +659,13 @@ cmd_rc() {
|
||||
pub=$(published_version rc 2>/dev/null) || pub=""
|
||||
if [[ "${pub%-*}" == "$pin_ver" ]]; then
|
||||
print_success "$pin_ver is already cut from this head and published to rc"
|
||||
maybe_iso "$version" rc "$iso_mode"
|
||||
maybe_iso "$pin_ver" rc "$iso_mode"
|
||||
return 0
|
||||
fi
|
||||
print_info "$pin_ver is pinned from this head but not published yet — re-triggering the build"
|
||||
trigger_rc_build || true
|
||||
[[ "$wait" == true ]] && wait_for_published rc "$pin_ver"
|
||||
maybe_iso "$version" rc "$iso_mode"
|
||||
maybe_iso "$pin_ver" rc "$iso_mode"
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
@@ -683,7 +683,7 @@ cmd_rc() {
|
||||
if [[ "$wait" == true ]]; then
|
||||
wait_for_published rc "$new_ver" || return 1
|
||||
fi
|
||||
maybe_iso "$version" rc "$iso_mode"
|
||||
maybe_iso "$new_ver" rc "$iso_mode"
|
||||
echo ""
|
||||
print_info "Test the candidate, then: omarchy-release ship (or pick + rc again)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user