From 2f5f02d3e5cc2640290502d2dbc0d3e443a22bd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Mon, 24 Aug 2026 23:21:11 -0400 Subject: [PATCH] Update: stable-channel empty tag list fails with message, not silently Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp --- bin/omarchy-cn-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-cn-update b/bin/omarchy-cn-update index e26deec8..3bf76838 100755 --- a/bin/omarchy-cn-update +++ b/bin/omarchy-cn-update @@ -39,7 +39,7 @@ beta) git -C "$src" checkout -q "$tag" ;; stable) - tag=$(git -C "$src" tag -l "*-cn.*" | grep -vE "alpha|beta|rc" | sort -V | tail -1) + tag=$(git -C "$src" tag -l "*-cn.*" | grep -vE "alpha|beta|rc" | sort -V | tail -1 || true) if [[ -z $tag ]]; then echo "当前尚无 stable 发布(omarchycn channel beta 可跟随预发布)" >&2 exit 1