From 860249299bddc9c258243cdec39768851e719cb1 Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Thu, 12 Mar 2026 16:13:53 +0100 Subject: [PATCH] Include release tag extraction needed for last step --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb40c05..340e606 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -146,9 +146,12 @@ jobs: - name: Build with pyinstaller run: | micromamba activate eos_build + $env:RELEASE_TAG = (python -c "import eos;print('v'+eos.__version__)") + echo "RELEASE_TAG=$env:RELEASE_TAG" >> $env:GITHUB_ENV + pyinstaller windows_build.spec cd dist\eos - Compress-Archive -Path .\* -Destination ..\..\eos.zip + Compress-Archive -Path .\* -Destination "..\..\eos-$env:RELEASE_TAG.zip" - name: Update Release if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all_incl_release"]'), github.event.inputs.build-items)) }} uses: actions/gitea-release-action@v1 @@ -156,4 +159,4 @@ jobs: name: "Amor-Eos ${{ env.RELEASE_TAG }}" tag_name: "${{ env.RELEASE_TAG }}" files: |- - eos.zip + "eos-$env:RELEASE_TAG.zip"