diff --git a/appveyor.yml b/appveyor.yml index a5530df..2533ac5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -73,7 +73,7 @@ - cmd: set ARTIFACTS_FOLDER=%APPVEYOR_BUILD_FOLDER%\artifacts - cmd: set ASSEMBLY_FOLDER=%APPVEYOR_BUILD_FOLDER%\src\KSP_Assemblies - cmd: set BUILD_FOLDER=%APPVEYOR_BUILD_FOLDER%\scripts - - cmd: set OUTPUT_FOLDER=%APPVEYOR_BUILD_FOLDER%\src\output + - cmd: set GAMEDATA_FOLDER=%APPVEYOR_BUILD_FOLDER%\GameData # download and extract KSP DLLs - cmd: curl -fsS -o%DOWNLOAD_FOLDER%\dlls.7z https://d237kiopfuf7h0.cloudfront.net/download/KSPDLL_1_4_0.zip - cmd: cd %DOWNLOAD_FOLDER% & dir @@ -126,10 +126,8 @@ # scripts to run after build after_build: - #- cmd: python %BUILD_FOLDER%\packager.py --cwd ../ --logging-level info --version 0.1.0 --zip - #- cmd: cd %OUTPUT_FOLDER% & dir - - cmd: mkdir %ARTIFACTS_FOLDER% - - cmd: 7z.exe a %ARTIFACTS_FOLDER%\FullOutput.zip %APPVEYOR_BUILD_FOLDER%\src + - cmd: cd %APPVEYOR_BUILD_FOLDER% + - cmd: python %BUILD_FOLDER%\packager.py -z -zi %GAMEDATA_FOLDER% -zo %ARTIFACTS_FOLDER% -c %BUILD_FOLDER%\RemoteTech-Complete.json # to disable automatic builds #build: off @@ -139,8 +137,8 @@ #---------------------------------# artifacts: - # pushing entire folder as a zip archive - - path: artifacts\FullOutput.zip + # mark release archive as final output of entire build process + - path: %ARTIFACTS_FOLDER%\RemoteTech.zip name: rt_c_gd #---------------------------------#