From a85b9505637f850555f6f250f920694b3c05d5a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cchaoji233=E2=80=9D?= Date: Sat, 10 Jan 2026 03:34:01 +0800 Subject: [PATCH] chore: enhance release workflow with fetch-depth and dynamic release naming for better versioning --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f6c467..39a374e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup pnpm uses: pnpm/action-setup@v4 @@ -67,10 +69,13 @@ jobs: uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} - TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} + TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} + TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} with: packageManager: pnpm includeRelease: true + tagName: ${{ github.ref_name }} + releaseName: 'ChmlFrpLauncher ${{ github.ref_name }}' + releaseBody: 'See the assets to download and install this version.' releaseDraft: false prerelease: false