diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-10-30 12:22:45 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-10-30 12:22:45 +0300 |
commit | 5b8c6a52c2499e1efd91bc4dad99f8857a42ca35 (patch) | |
tree | eae27ec84ad20b57acc4f8307d1a57ceb798c5e9 | |
parent | 6b4e13863baf67958467e5cd34c56f5345749399 (diff) |
Pipeline
-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
|