diff options
-rw-r--r-- | .github/workflows/release.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4bba8a0..a688b13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- tag: ${{ github.head_ref || github.ref_name }}
+ tag_name: ${{ github.ref }}
commit: master
name: Release ${{ github.head_ref || github.ref_name }}
draft: true
@@ -72,7 +72,7 @@ jobs: - name: Get Release File Name & Upload URL
id: get_release_info
env:
- TAG_REF_NAME: ${{ github.head_ref || github.ref_name }}
+ TAG_REF_NAME: ${{ github.ref }}
REPOSITORY_NAME: ${{ github.repository }}
run: |
echo file_name=${REPOSITORY_NAME##*/}-${TAG_REF_NAME##*/v} >> $GITHUB_OUTPUT
|