From 3ca37967065501b12fb17856bdc8ed72e414c5c0 Mon Sep 17 00:00:00 2001 From: "guorong.zheng" <360996299@qq.com> Date: Wed, 27 Mar 2024 16:45:41 +0800 Subject: [PATCH] fix:version --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e17b5400bae..f51092a1ea5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: - name: Get changelog id: get_changelog run: | - current_version="${{ env.version }}" + current_version="v${{ env.version }}" if grep -q "^## $current_version$" CHANGELOG.md; then changelog=$(awk -v ver="^## $current_version$" '/^##/{if(p && $0 !~ ver) exit; p=1} p' CHANGELOG.md) else