2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-17 03:26:02 +00:00

Fix appveyor artifact zipping and github deployment

This commit is contained in:
Peter Repukat 2017-04-13 18:10:29 +02:00
parent a93086bb57
commit 53e0f6eb39

View File

@ -5,9 +5,6 @@ branches:
only: only:
- master - master
configuration: Release configuration: Release
platform:
- x86
- x64
environment: environment:
matrix: matrix:
- platform: x86 - platform: x86
@ -20,15 +17,19 @@ build:
project: GloSC.sln project: GloSC.sln
verbosity: normal verbosity: normal
after_build: after_build:
- cmd: 7z a GloSC_%platform%.zip TargetConfig.ini %APPVEYOR_BUILD_FOLDER%\\build\%OUTNAME%\%configuration%\* %APPVEYOR_BUILD_FOLDER%\\build\Win32Only\%configuration%\* %APPVEYOR_BUILD_FOLDER%\dependencies\SFML-2.4.1-$(platform)\\bin %APPVEYOR_BUILD_FOLDER%\dependencies\ViGEmUM\$(platform)\\bin - cmd: >-
7z a GloSC_%platform%.zip TargetConfig.ini License.txt qt-license.txt Readme.md Build_Install.md %APPVEYOR_BUILD_FOLDER%\build\%OUTNAME%\%configuration%\*.exe %APPVEYOR_BUILD_FOLDER%\build\Win32Only\%configuration%\*.exe %APPVEYOR_BUILD_FOLDER%\build\Win32Only\%configuration%\*.dll %APPVEYOR_BUILD_FOLDER%\dependencies\SFML-2.4.1-%platform%\bin\sfml-system-2.dll %APPVEYOR_BUILD_FOLDER%\dependencies\SFML-2.4.1-%platform%\bin\sfml-window-2.dll %APPVEYOR_BUILD_FOLDER%\dependencies\SFML-2.4.1-%platform%\bin\sfml-graphics-2.dll %APPVEYOR_BUILD_FOLDER%\dependencies\ViGEmUM\%platform%\ViGEmUM.dll redist\*.exe %QTDIR%\bin\Qt5Core.dll %QTDIR%\bin\Qt5Gui.dll %QTDIR%\bin\Qt5Widgets.dll %QTDIR%\plugins\platforms\qwindows.dll
7z rn GloSC_%platform%.zip qwindows.dll platforms\qwindows.dll
artifacts: artifacts:
- path: GloSC_$(platform).zip - path: GloSC_$(platform).zip
name: GloSC_$(platform) name: GloSC_$(platform)
deploy: deploy:
- provider: GitHub - provider: GitHub
auth_token: auth_token:
secure: IUk+TRaAfx7h7g+Ci3/srkt/ATkKp/Df6zSo1Fcf3OfW4yL0bPlKWbkVoDJZFRHdWK9yJsG+6dBUDYB7OePiINMc97nfr8EwfEU8ULmOp0o= secure: HdTPh2HVHhlpsjWkSIT89w+4KyDeB9CVCb/FFlzZpYdUTtUqLSAJ5/nOw29be0PG
artifact: /GLoSC_x..\.zip/ artifact: /GloSC_x..\.zip/
draft: true draft: true
prerelease: true prerelease: true
force_update: true force_update: true