From 4b1396343a2764425f581ebd417a1a77dd20fc06 Mon Sep 17 00:00:00 2001 From: Viktor Delev Date: Tue, 7 Jan 2025 13:40:39 +0100 Subject: [PATCH] fix version for changelog --- .github/workflows/release-source.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-source.yml b/.github/workflows/release-source.yml index 26074f12..abf68de2 100644 --- a/.github/workflows/release-source.yml +++ b/.github/workflows/release-source.yml @@ -227,12 +227,13 @@ jobs: - name: Generate release notes id: generate-release-notes run: | + TAG_NAME="v${{ inputs.release_version }}" response=$(curl -s -X POST \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/releases/generate-notes \ - -d "$(jq -n --arg tag_name "${{ env.RELEASE_VERSION }}" \ + -d "$(jq -n --arg tag_name "$TAG_NAME" \ --arg target_commitish "${{ github.ref_name }}" \ '{tag_name: $tag_name, target_commitish: $target_commitish}')")