Skip to content

Commit

Permalink
update in tags workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpadberg committed Aug 30, 2022
1 parent fd11cef commit 6bfeb1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ jobs:
shell: bash
run: |
if [ "${{ matrix.os }}" = "windows-latest" ]; then
archive_name="mcf-${{ env.RELEASE_VERSION }}${{ matrix.rust-target }}.zip"
archive_name="mcf-${{ env.RELEASE_VERSION }}-${{ matrix.rust-target }}.zip"
cp target/${{ matrix.rust-target }}/release/mcf.exe .
7z a "$archive_name" "mcf.exe"
echo "ASSET=$archive_name" >> $GITHUB_ENV
else
archive_name="mcf-${{ env.RELEASE_VERSION }}${{ matrix.rust-target }}.tar.gz"
archive_name="mcf-${{ env.RELEASE_VERSION }}-${{ matrix.rust-target }}.tar.gz"
cp target/${{ matrix.rust-target }}/release/mcf .
tar czf "$archive_name" "mcf"
echo "ASSET=$archive_name" >> $GITHUB_ENV
Expand Down

0 comments on commit 6bfeb1d

Please sign in to comment.