Skip to content

Commit

Permalink
Fix release filenames
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Feb 6, 2024
1 parent 704f07f commit 5b8579b
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ jobs:
if: steps.cache.outputs.cache-hit == 'true'
run: |
./utils/linux/linux-tar.sh
mv mod-desktop-*.tar.xz mod-desktop-${{ env.VERSION_TAG }}-linux-x86_64-debug.tar.xz
if [ "${{ env.VERSION_TAG }}" != "$(cat VERSION)" ]; then
mv mod-desktop-*.tar.xz mod-desktop-${{ env.VERSION_TAG }}-linux-x86_64.tar.xz
fi
- uses: actions/upload-artifact@v3
if: ${{ matrix.container == env.RELEASE_OS_LINUX }}
with:
Expand Down Expand Up @@ -187,7 +189,9 @@ jobs:
if: steps.cache.outputs.cache-hit == 'true'
run: |
./utils/linux/linux-tar.sh
mv mod-desktop-*.tar.xz mod-desktop-${{ env.VERSION_TAG }}-linux-x86_64-debug.tar.xz
if [ "${{ env.VERSION_TAG }}" != "$(cat VERSION)" ]; then
mv mod-desktop-*.tar.xz mod-desktop-${{ env.VERSION_TAG }}-linux-x86_64-debug.tar.xz
fi
- uses: actions/upload-artifact@v3
if: ${{ matrix.container == env.RELEASE_OS_LINUX }}
with:
Expand Down Expand Up @@ -252,7 +256,9 @@ jobs:
if: steps.cache.outputs.cache-hit == 'true'
run: |
./utils/macos/macos-pkg.sh ${{ matrix.target }}
mv mod-desktop-*.pkg mod-desktop-${{ env.VERSION_TAG }}-macOS.pkg
if [ "${{ env.VERSION_TAG }}" != "$(cat VERSION)" ]; then
mv mod-desktop-*.pkg mod-desktop-${{ env.VERSION_TAG }}-macOS.pkg
fi
- uses: actions/upload-artifact@v4
if: ${{ matrix.os == env.RELEASE_OS_MAC && matrix.target == 'macos-universal-10.15' }}
with:
Expand Down Expand Up @@ -323,9 +329,11 @@ jobs:
if: steps.cache.outputs.cache-hit == 'true'
run: |
xvfb-run ./utils/win64/win64-installer.sh
mv mod-desktop-*.exe mod-desktop-${{ env.VERSION_TAG }}-win64.exe
./utils/win64/win64-zip.sh
mv mod-desktop-*.zip mod-desktop-${{ env.VERSION_TAG }}-win64.zip
if [ "${{ env.VERSION_TAG }}" != "$(cat VERSION)" ]; then
mv mod-desktop-*.exe mod-desktop-${{ env.VERSION_TAG }}-win64.exe
mv mod-desktop-*.zip mod-desktop-${{ env.VERSION_TAG }}-win64.zip
fi
- uses: actions/upload-artifact@v4
if: ${{ matrix.container == env.RELEASE_OS_WIN64 }}
with:
Expand Down

0 comments on commit 5b8579b

Please sign in to comment.