Skip to content

Commit

Permalink
Update packager and artifact instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
KSP-TaxiService committed Mar 24, 2018
1 parent f2c90d7 commit 6d395b8
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

#---------------------------------#
Expand Down

0 comments on commit 6d395b8

Please sign in to comment.