Remove version from commands, some powershell syntax issues

This commit is contained in:
2026-03-17 08:04:09 +01:00
parent f384704f53
commit 39d234fbfc

View File

@@ -148,14 +148,18 @@ jobs:
run: |
$tag = micromamba run -n eos_build python -c "import eos; print('v'+eos.__version__)"
$tag = $tag.Trim()
echo "Release tag extracted: $tag"
"RELEASE_TAG=$tag" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
echo "File written to: $env:GITHUB_ENV"
- name: Build with pyinstaller
shell: powershell
run: |
echo "Transferred tag: $RELEASE_TAG or ${{ env.RELEASE_TAG }}."
micromamba activate eos_build
pyinstaller windows_build.spec
cd dist\eos
Compress-Archive -Path .\* -Destination ..\..\eos.zip
echo "Transferred tag: $RELEASE_TAG or ${{ env.RELEASE_TAG }}."
#pyinstaller windows_build.spec
#cd dist\eos
#Compress-Archive -Path .\* -Destination ..\..\eos.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