From 003fd945084126e170153cdd2c624c42dd093a60 Mon Sep 17 00:00:00 2001 From: vados Date: Wed, 2 Oct 2024 13:44:16 +0900 Subject: [PATCH] fix(ci): fix refname used for release --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d01347c..94abbb0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -102,7 +102,7 @@ jobs: with: prerelease: ${{ startsWith(github.ref, 'refs/heads/prep-release') }} draft: ${{ startsWith(github.ref, 'refs/heads/prep-release') }} - tag_name: ${{ github.ref || inputs.version }} + tag_name: ${{ github.ref_name || inputs.version }} # NOTE: while we have the CHANGELOG file, it always contains *all* changes, # so we will use the generated GitHub commits for now generate_release_notes: true