From 7230d0cfcc7ad2e3f1f35ee188c96e4ccb3d0d25 Mon Sep 17 00:00:00 2001 From: rambros Date: Sat, 21 Mar 2026 02:39:19 +0530 Subject: [PATCH] fix windows release structure --- .github/workflows/release.yml | 7 ++++--- .gitignore | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f197f20..7d6445e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,10 +85,11 @@ jobs: - name: Prepare Release Asset (Windows) if: matrix.os == 'windows-latest' + shell: pwsh run: | - mkdir REAPER - copy ${{ matrix.executable_path }} REAPER\DiscoReaper.exe - powershell Compress-Archive -Path "REAPER" -DestinationPath "${{ matrix.asset_name }}" + New-Item -ItemType Directory -Path "REAPER" -Force + Copy-Item "${{ matrix.executable_path }}" -Destination "REAPER\DiscoReaper.exe" + Compress-Archive -Path "REAPER" -DestinationPath "${{ matrix.asset_name }}" -Force - name: Upload Artifact uses: actions/upload-artifact@v4 diff --git a/.gitignore b/.gitignore index 987a698..06eade2 100644 --- a/.gitignore +++ b/.gitignore @@ -44,6 +44,7 @@ test_*.py test_release.zip test_release/ DiscoReaper-* +*.zip # App data files ReaperFiles-*/