Include release tag extraction needed for last step

This commit is contained in:
2026-03-12 16:13:53 +01:00
parent c7e92f7086
commit 860249299b

View File

@@ -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"