Skip to content

Commit

Permalink
Remove github.ref_name from release file name
Browse files Browse the repository at this point in the history
  • Loading branch information
henning-gerhardt committed Nov 30, 2024
1 parent ba6eb92 commit 58a6603
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ jobs:
- name: Create artifact and release asset
if: startsWith(github.ref, 'refs/tags/')
run: |
tar cvjf mfakto-${{ github.ref_name }}-linux64.tar.bz2 *.cl Changelog-mfakto.txt COPYING datatypes.h mfakto mfakto.ini README-SpecialVersions.txt README.txt tf_debug.h todo.txt
tar cvjf mfakto-linux64.tar.bz2 *.cl Changelog-mfakto.txt COPYING datatypes.h mfakto mfakto.ini README-SpecialVersions.txt README.txt tf_debug.h todo.txt
- name: Upload release assets on release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
mfakto-${{ github.ref_name }}-linux64.tar.bz2
mfakto-linux64.tar.bz2
WindowsMSVC:
name: Windows MSVC
Expand All @@ -69,7 +69,7 @@ jobs:
- name: Create artifact and release asset
run: |
Copy-Item -Path Changelog-mfakto.txt, COPYING, README-SpecialVersions.txt, README.txt, todo.txt, src/mfakto.ini -Destination x64/Debug/
Compress-Archive -DestinationPath mfakto-${{ github.ref_name }}-windows-msvc.zip -CompressionLevel Optimal -Path x64/Debug/*
Compress-Archive -DestinationPath mfakto-windows-msvc.zip -CompressionLevel Optimal -Path x64/Debug/*
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -80,7 +80,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
mfakto-${{ github.ref_name }}-windows-msvc.zip
mfakto-windows-msvc.zip
WindowsMSYS2:
name: Windows MSYS2
Expand Down Expand Up @@ -118,13 +118,13 @@ jobs:
- name: Create artifact and release asset
if: startsWith(github.ref, 'refs/tags/')
run: |
Compress-Archive -DestinationPath mfakto-${{ github.ref_name }}-windows-msys2.zip -CompressionLevel Optimal -Path *.cl, Changelog-mfakto.txt, COPYING, datatypes.h, mfakto.exe, mfakto.ini, README-SpecialVersions.txt, README.txt, tf_debug.h, todo.txt
Compress-Archive -DestinationPath mfakto-windows-msys2.zip -CompressionLevel Optimal -Path *.cl, Changelog-mfakto.txt, COPYING, datatypes.h, mfakto.exe, mfakto.ini, README-SpecialVersions.txt, README.txt, tf_debug.h, todo.txt
- name: Upload release assets on release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
mfakto-${{ github.ref_name }}-windows-msys2.zip
mfakto-windows-msys2.zip
MacOS:
name: MacOS
Expand Down Expand Up @@ -165,10 +165,10 @@ jobs:
- name: Create artifact and release asset
if: startsWith(github.ref, 'refs/tags/')
run: |
tar cvjf mfakto-${{ github.ref_name }}-${{ matrix.os }}.tar.bz2 *.cl Changelog-mfakto.txt COPYING datatypes.h mfakto mfakto.ini README-SpecialVersions.txt README.txt tf_debug.h todo.txt
tar cvjf mfakto-${{ matrix.os }}.tar.bz2 *.cl Changelog-mfakto.txt COPYING datatypes.h mfakto mfakto.ini README-SpecialVersions.txt README.txt tf_debug.h todo.txt
- name: Upload release assets on release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
mfakto-${{ github.ref_name }}-${{ matrix.os }}.tar.bz2
mfakto-${{ matrix.os }}.tar.bz2

0 comments on commit 58a6603

Please sign in to comment.