diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0f0877..2e58e03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -146,13 +146,13 @@ jobs: - name: Build with pyinstaller run: | micromamba activate eos_build + chcp 65001 #set code page to utf-8 $env:RELEASE_TAG = (python -c "import eos;print('v'+eos.__version__)") - echo "RELEASE_TAG=$env:RELEASE_TAG" | Out-File -FilePath $env:GITHUB_ENV -Append - + echo "RELEASE_TAG=$env:RELEASE_TAG" >> $env:GITHUB_ENV echo "Set tag to $env:RELEASE_TAG" #pyinstaller windows_build.spec #cd dist\eos - #Compress-Archive -Path .\* -Destination ..\..\eos.zip + #Compress-Archive -Path .\* -Destination "..\..\eos-$env:RELEASE_TAG.zip" - name: Test global env run: | echo "Received tag as $env:RELEASE_TAG"