Skip to content

Commit

Permalink
sakura-editor#109: appveyor の成果物の zip 圧縮する
Browse files Browse the repository at this point in the history
  • Loading branch information
m-tmatma committed Jun 13, 2018
1 parent c14829c commit 18f81bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ build_script:
echo %MSBUILD_EXE% %SLN_FILE% /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /t:"Clean","Rebuild" %EXTRA_CMD%
%MSBUILD_EXE% %SLN_FILE% /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /t:"Clean","Rebuild" %EXTRA_CMD%
call zipArtifacts.bat %PLATFORM% %CONFIGURATION%
echo appveyor_yml
artifacts:
- path: '$(platform)\$(configuration)\*.exe'
- path: '$(platform)\$(configuration)\*.dll'
- path: '$(platform)\$(configuration)\*.pdb'
- path: 'archive-$(platform)-$(configuration).zip'
7 changes: 7 additions & 0 deletions zipArtifacts.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
set platform=%1
set configuration=%2
set OUTFILE=archive-%platform%-%configuration%.zip

7z a %OUTFILE% %platform%\%configuration%\*.exe
7z a %OUTFILE% %platform%\%configuration%\*.dll
7z a %OUTFILE% %platform%\%configuration%\*.pdb

0 comments on commit 18f81bf

Please sign in to comment.