From 00dd64db6139aa036c68a1cfaccd0aaee2c9fa2f Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Sun, 30 Aug 2026 13:25:13 -0400 Subject: [PATCH] Accept multiple package names in bin/release --package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The rc trigger passes '--package omarchy omarchy-settings', and bin/build already consumes every name up to the next --option, but bin/release only took one — the second name fell through to 'Unknown option' and the release exited before building anything. Parse greedily, like bin/build. --- bin/release | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/bin/release b/bin/release index 23e8cfc..d40fa0f 100755 --- a/bin/release +++ b/bin/release @@ -42,8 +42,13 @@ while [[ $# -gt 0 ]]; do shift 2 ;; --package) - BUILD_ARGS+=("--package" "$2") - shift 2 + # Greedy like bin/build: consume every name up to the next --option. + BUILD_ARGS+=("--package") + shift + while [[ $# -gt 0 && ! "$1" =~ ^-- ]]; do + BUILD_ARGS+=("$1") + shift + done ;; --sync-remote) SYNC_REMOTE="$2" @@ -64,7 +69,7 @@ while [[ $# -gt 0 ]]; do echo "Options:" echo " --arch Target architecture (x86_64 or aarch64, default: x86_64)" echo " --mirror Mirror to use (edge, rc, or stable, default: edge)" - echo " --package Build only the specified package" + echo " --package Build only the specified package(s) (space-separated)" echo " --sync-remote Rclone remote for sync (default: pkgs.omarchy.org:omarchy-pkgs)" echo " --skip-prod-check Skip production environment check during sync --dry-run Show build plan only; do not sign/promote/clean/update/sync"