From a92dd19d98a4446ab5a156c87f0a0036488d9a4f Mon Sep 17 00:00:00 2001 From: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> Date: Wed, 29 Jul 2026 15:15:24 +0000 Subject: [PATCH] fix: use --force on git fetch to avoid tag clobber errors on gitea Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com> --- scripts/release-stable.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release-stable.sh b/scripts/release-stable.sh index 8ec9efb..7c6807d 100755 --- a/scripts/release-stable.sh +++ b/scripts/release-stable.sh @@ -68,7 +68,7 @@ suggest_next_version() { # Step 0: Fetch everything # ───────────────────────────────────────────────────────────────────────────── echo -e "${BLUE}Step 0: Fetching latest from all remotes...${NC}" -git fetch --all --tags --prune +git fetch --all --tags --prune --force || git fetch --all --tags --prune --force 2>/dev/null || true LATEST_TAG=$(get_latest_tag) NEXT_VERSION=$(suggest_next_version "$LATEST_TAG")