ci: Explicitly set the encoding as UTF-8 in the python script since that is not the windows default encoding [skip ci]

This commit is contained in:
2024-12-19 16:36:56 -07:00
parent 276a672df4
commit 4f6e64083a
2 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -41,10 +41,9 @@ jobs:
python "./deployment/chocolatey/packager.py" ${{ env.RELEASE_VERSION }} "./deployment/chocolatey/chocolateyinstall.ps1.template" "./deployment/chocolatey/tools/chocolateyinstall.ps1" ${{ env.WINDOWS_SHA }}
# Publish to Chocolatey
cd ./deployment/chocolatey
cd ./deployment/chocolatey/
choco pack
echo y | choco install managarr -dv -s .
refreshenv
$version = managarr --version
$version = $version -replace " ", "."
choco push $version.nupkg -s https://push.chocolatey.org/ --api-key ${{ secrets.CHOCOLATEY_API_KEY }};