From 7b6d3d5c127cdc614b98a63ee094a0a4281247a6 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 12 Sep 2020 18:01:19 +0800 Subject: [PATCH] fix release name of binary assets --- .github/workflows/publish.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 094fe0d..a94a631 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,10 +30,6 @@ jobs: with: fetch-depth: 1 - - name: Set the version - id: version - run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} - - name: Install Rust uses: actions-rs/toolchain@v1 with: @@ -56,7 +52,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: target/release/upt - asset_name: upt-${{ steps.version.outputs.VERSION }}-${{ matrix.target }} + asset_name: upt-${{ matrix.target }} tag: ${{ github.ref }} - name: Upload binaries to release @@ -65,5 +61,5 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: target/release/upt.exe - asset_name: upt-${{ steps.version.outputs.VERSION }}-${{ matrix.target }}.exe + asset_name: upt-${{ matrix.target }}.exe tag: ${{ github.ref }}