From cb3436cfb05bc6d4b6caca2284f64a6b6b6d7b27 Mon Sep 17 00:00:00 2001 From: zijiren233 Date: Thu, 30 Jul 2026 01:11:14 +0800 Subject: [PATCH] fix: resolve release target commit from tag --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dfa75cd1..1bcfa1a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,9 +52,10 @@ jobs: exit 0 fi + target_sha="$(git rev-parse "${RELEASE_TAG}^{commit}")" release_args=( "${RELEASE_TAG}" - --target "${GITHUB_SHA}" + --target "${target_sha}" --title "${RELEASE_TAG}" --generate-notes )