diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07f967061..3181fa201 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest] archive_ext: [tar.gz] - archive_cmd: ["tar cf"] + archive_cmd: ["tar cfz"] include: - os: ubuntu-latest osname: linux @@ -57,9 +57,9 @@ jobs: if: ${{ github.event_name == 'release' }} run: | cd muse2 - ${{ matrix.archive_cmd }} ../muse2_${{ matrix.osname }}.${{ matrix.archive_ext }} * + ${{ matrix.archive_cmd }} ../muse2_${{ matrix.osname }}_${{ github.ref_name }}.${{ matrix.archive_ext }} * - name: Upload release artifacts if: ${{ github.event_name == 'release' }} uses: softprops/action-gh-release@v3 with: - files: muse2_${{ matrix.osname }}.${{ matrix.archive_ext }} + files: muse2_${{ matrix.osname }}_${{ github.ref_name }}.${{ matrix.archive_ext }}