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"