1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-19 05:27:57 +00:00

CI: remove double OS version numbers from tar names

This commit is contained in:
Romein van Buren 2023-06-03 11:45:05 +02:00
parent c5c3c6f873
commit 12d398320d
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -56,20 +56,20 @@ jobs:
run: | run: |
mkdir releases mkdir releases
wails build -platform windows/amd64 wails build -platform windows/amd64
tar -czvf releases\rolens-${{ matrix.platform }}-10+-amd64.tar.gz --directory build\bin Rolens.exe tar -czvf releases\rolens-${{ matrix.platform }}-amd64.tar.gz --directory build\bin Rolens.exe
Remove-Item -Recurse -Confirm:$false .\build\bin Remove-Item -Recurse -Confirm:$false .\build\bin
wails build -platform windows/arm64 wails build -platform windows/arm64
tar -czvf releases\rolens-${{ matrix.platform }}-10+-arm64.tar.gz --directory build\bin Rolens.exe tar -czvf releases\rolens-${{ matrix.platform }}-arm64.tar.gz --directory build\bin Rolens.exe
- name: Cross-compile Rolens for Darwin - name: Cross-compile Rolens for Darwin
if: contains(matrix.platform, 'macos') if: contains(matrix.platform, 'macos')
run: | run: |
mkdir releases mkdir releases
wails build -platform darwin/amd64 wails build -platform darwin/amd64
tar -czvf releases/rolens-${{ matrix.platform }}-10.13+-amd64.tar.gz --directory build/bin Rolens.app tar -czvf releases/rolens-${{ matrix.platform }}-amd64.tar.gz --directory build/bin Rolens.app
rm -rf build/bin rm -rf build/bin
wails build -platform darwin/arm64 wails build -platform darwin/arm64
tar -czvf releases/rolens-${{ matrix.platform }}-11.0+-arm64.tar.gz --directory build/bin Rolens.app tar -czvf releases/rolens-${{ matrix.platform }}-arm64.tar.gz --directory build/bin Rolens.app
- name: Cross-compile Rolens for Linux - name: Cross-compile Rolens for Linux
if: contains(matrix.platform, 'ubuntu') if: contains(matrix.platform, 'ubuntu')