Use cpack to build zip for win (#1706)

This commit is contained in:
Russel Waters 2019-02-06 11:07:41 -05:00 committed by GitHub
commit 1c54a6f31e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,9 +36,9 @@ after_build:
- cmd: >-
cpack -C %CONFIGURATION% --verbose --config ./CPackConfig.cmake
7z a nano.zip %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\*.exe %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\*.com
cpack -G ZIP -C %CONFIGURATION% --verbose --config ./CPackConfig.cmake
artifacts:
- path: nano.zip
- path: nano*.zip
name: nano_release_%network%
- path: Nano_Installer-*.exe
name: Nano_Installer_%network%