From 0b6b218156b9bca075b676f4631b290eddc1433b Mon Sep 17 00:00:00 2001 From: codes-res-by-bigbrother666sh Date: Mon, 16 Mar 2026 20:19:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(release):=20=E5=90=8C=20ci=EF=BC=8C?= =?UTF-8?q?=E7=94=A8=20fetch=20=20=E6=9B=BF=E4=BB=A3=20--branch=20?= =?UTF-8?q?v$VERSION=20=E5=85=8B=E9=9A=86=20openclaw?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d79dc25..e9f4a77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -106,9 +106,10 @@ jobs: - name: Clone openclaw at pinned commit run: | - git clone --branch v${{ steps.pin.outputs.version }} --depth=1 \ - https://github.com/openclaw/openclaw.git openclaw - git -C openclaw checkout ${{ steps.pin.outputs.commit }} + git init openclaw + git -C openclaw remote add origin https://github.com/openclaw/openclaw.git + git -C openclaw fetch --depth=1 origin ${{ steps.pin.outputs.commit }} + git -C openclaw checkout FETCH_HEAD - name: Clone openclaw_for_business run: git clone --depth=1 https://github.com/TeamWiseFlow/openclaw_for_business.git openclaw_for_business