Rename machine setup file for easier suffix matching

This commit is contained in:
Gregory Schier
2026-02-18 06:36:59 -08:00
parent e638cecf07
commit 4c2e7b8609

View File

@@ -167,6 +167,6 @@ jobs:
run: |
npx tauri bundle ${{ matrix.args }} --bundles nsis --config ./crates-tauri/yaak-app/tauri.release.conf.json --config '{"bundle":{"createUpdaterArtifacts":false,"windows":{"nsis":{"installMode":"perMachine"}}}}'
$setup = Get-ChildItem -Recurse -Path target -Filter "*setup*.exe" | Select-Object -First 1
$dest = $setup.FullName -replace '-setup\.exe$', '_machine-setup.exe'
$dest = $setup.FullName -replace '-setup\.exe$', 'setup-machine.exe'
Copy-Item $setup.FullName $dest
gh release upload "${{ github.ref_name }}" "$dest" --clobber