From bd49c2d3fae1c4853722c46dac9a415e62d4836b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=AB=E8=8A=A6=E5=A8=83?= Date: Fri, 29 Jan 2021 01:57:34 +0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19d15d7..c8ce99f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,7 @@ jobs: with: upload_url: '${{ steps.getReleaseUploadUrl.outputs.upload_url }}' asset_path: '${{ github.workspace }}/build/distributions/PrivacyDog.tar' - asset_name: 'PrivacyDog-${{ github.ref }}-RELEASE.tar' + asset_name: 'PrivacyDog-${{ steps.getVersion.outputs.VERSION }}-RELEASE.tar' asset_content_type: application/octet-stream @@ -69,5 +69,5 @@ jobs: with: upload_url: '${{ steps.getReleaseUploadUrl.outputs.upload_url }}' asset_path: '${{ github.workspace }}/build/distributions/PrivacyDog.zip' - asset_name: 'PrivacyDog-${{ github.ref }}-RELEASE.zip' + asset_name: 'PrivacyDog-${{ steps.getVersion.outputs.VERSION }}-RELEASE.zip' asset_content_type: application/octet-stream