From 9b3a4523d27f1907cf36e3d246b3523ddb34a9a1 Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Wed, 18 Mar 2026 11:10:14 +0100 Subject: [PATCH] Add version string to zipfile name and include README.rst --- .github/workflows/release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e65078c..e952dac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,7 +138,9 @@ jobs: if ($rebuild) { Write-Host "Environment changed → rebuilding" - micromamba env remove -n $envName -y 2>$null + if (micromamba env list | Select-String $envName) { + micromamba env remove -n $envName -y 2>$null + } micromamba create -n $envName -f $envFile -y @@ -163,11 +165,12 @@ jobs: Write-Host "Building version: $env:RELEASE_TAG" micromamba run -n eos_build pyinstaller windows_build.spec + Copy-Item README.rst dist\eos\ - name: Package artifact shell: powershell run: | - Compress-Archive -Path dist\eos\* -DestinationPath eos.zip + Compress-Archive -Path dist\eos\* -DestinationPath "amor_eos-win64-$env:RELEASE_TAG.zip" - name: Update Release if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all_incl_release"]'), github.event.inputs.build-items)) }} @@ -175,5 +178,5 @@ jobs: with: name: "Amor-Eos ${{ env.RELEASE_TAG }}" tag_name: "${{ env.RELEASE_TAG }}" - files: eos.zip - + files: |- + amor_eos-win64*.zip