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