diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f62a10e..7aebf90 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,7 +26,7 @@ jobs: run: | mkdir -p release cp target/release/keepsorted release/${{ matrix.asset_name }} - tar -czvf keepsorted-${{ matrix.asset_name }}.tar.gz -C release keepsorted-${{ matrix.asset_name }} + tar -czvf ${{ matrix.asset_name }}.tar.gz -C release ${{ matrix.asset_name }} - name: Upload Compressed Release Asset (tar.gz) uses: actions/upload-release-asset@v1.0.2 @@ -34,8 +34,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: ./keepsorted-${{ matrix.asset_name }}.tar.gz - asset_name: keepsorted-${{ matrix.asset_name }}.tar.gz + asset_path: ./${{ matrix.asset_name }}.tar.gz + asset_name: ${{ matrix.asset_name }}.tar.gz asset_content_type: application/gzip - name: Upload Original Binary @@ -45,5 +45,5 @@ jobs: with: upload_url: ${{ github.event.release.upload_url }} asset_path: ./release/${{ matrix.asset_name }} - asset_name: keepsorted-${{ matrix.asset_name }} + asset_name: ${{ matrix.asset_name }} asset_content_type: application/octet-stream