Skip to content

Commit 6d395b8

Browse files
Update packager and artifact instructions
1 parent f2c90d7 commit 6d395b8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

appveyor.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
- cmd: set ARTIFACTS_FOLDER=%APPVEYOR_BUILD_FOLDER%\artifacts
7474
- cmd: set ASSEMBLY_FOLDER=%APPVEYOR_BUILD_FOLDER%\src\KSP_Assemblies
7575
- cmd: set BUILD_FOLDER=%APPVEYOR_BUILD_FOLDER%\scripts
76-
- cmd: set OUTPUT_FOLDER=%APPVEYOR_BUILD_FOLDER%\src\output
76+
- cmd: set GAMEDATA_FOLDER=%APPVEYOR_BUILD_FOLDER%\GameData
7777
# download and extract KSP DLLs
7878
- cmd: curl -fsS -o%DOWNLOAD_FOLDER%\dlls.7z https://d237kiopfuf7h0.cloudfront.net/download/KSPDLL_1_4_0.zip
7979
- cmd: cd %DOWNLOAD_FOLDER% & dir
@@ -126,10 +126,8 @@
126126

127127
# scripts to run after build
128128
after_build:
129-
#- cmd: python %BUILD_FOLDER%\packager.py --cwd ../ --logging-level info --version 0.1.0 --zip
130-
#- cmd: cd %OUTPUT_FOLDER% & dir
131-
- cmd: mkdir %ARTIFACTS_FOLDER%
132-
- cmd: 7z.exe a %ARTIFACTS_FOLDER%\FullOutput.zip %APPVEYOR_BUILD_FOLDER%\src
129+
- cmd: cd %APPVEYOR_BUILD_FOLDER%
130+
- cmd: python %BUILD_FOLDER%\packager.py -z -zi %GAMEDATA_FOLDER% -zo %ARTIFACTS_FOLDER% -c %BUILD_FOLDER%\RemoteTech-Complete.json
133131

134132
# to disable automatic builds
135133
#build: off
@@ -139,8 +137,8 @@
139137
#---------------------------------#
140138

141139
artifacts:
142-
# pushing entire folder as a zip archive
143-
- path: artifacts\FullOutput.zip
140+
# mark release archive as final output of entire build process
141+
- path: %ARTIFACTS_FOLDER%\RemoteTech.zip
144142
name: rt_c_gd
145143

146144
#---------------------------------#

0 commit comments

Comments
 (0)