Fix packaging

This commit is contained in:
Mark McDowall 2024-01-06 14:16:48 -08:00
parent a3b1b601ca
commit 9fa4543a43
3 changed files with 4 additions and 7 deletions

View File

@ -54,8 +54,8 @@ runs:
run: |
SET RUNTIME=win-x64
cd ./distribution/windows/setup
./distribution/windows/setup/build.bat
cd \distribution\windows\setup
\distribution\windows\setup\build.bat
- name: Create Windows Installer (x86)
if: ${{ inputs.platform == 'windows' }}

View File

@ -8,7 +8,7 @@ framework="${FRAMEWORK:=net6.0}"
for runtime in _artifacts/*
do
name="${runtime##*/}"
folderName="$runtime/$framework/Sonarr"
folderName="$runtime/$framework"
sonarrFolder="$folderName/Sonarr"
echo "Creating package for $name"

View File

@ -3,8 +3,5 @@
@REM SET BRANCH=develop
@REM SET FRAMEWORK=net6.0
@REM SET RUNTIME=win-x64
echo ##teamcity[progressStart 'Building setup file']
inno\ISCC.exe sonarr.iss
echo ##teamcity[progressFinish 'Building setup file']
echo ##teamcity[publishArtifacts 'distribution\windows\setup\output\*%RUNTIME%*.exe']
inno\ISCC.exe sonarr.iss