From 75703ccd3e5df6649091ddf456c4bcf0e8b25dbb Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Sat, 14 Jun 2025 13:18:47 +0800 Subject: [PATCH] chore(release): update fetch depth in GitHub Actions workflow - Changed the fetch depth to 0 in the release workflow to ensure all history is available for tagging. This adjustment improves the accuracy of the release process. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bea18d50b5..7a007e4e91 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: - name: Check out Git repository uses: actions/checkout@v4 with: - ref: main + fetch-depth: 0 - name: Get release tag id: get-tag @@ -149,4 +149,4 @@ jobs: token: ${{ secrets.REPO_DISPATCH_TOKEN }} repository: CherryHQ/cherry-studio-docs event-type: update-download-version - client-payload: '{"version": "${{ steps.get-tag.outputs.tag }}"}' \ No newline at end of file + client-payload: '{"version": "${{ steps.get-tag.outputs.tag }}"}'