-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathappveyor.yml
31 lines (25 loc) · 971 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
image: Visual Studio 2019
skip_non_tags: true
environment:
FRIENDLY_NAME: Windows Patcher
build_script:
ps: |-
msbuild "$env:APPVEYOR_PROJECT_NAME.sln" /m /p:Configuration=Release /p:Platform=x86 /p:AppVersion=$env:APPVEYOR_REPO_TAG_NAME /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
after_build:
ps: |-
# Make sure you use quotes around variables below!
7z a "$env:APPVEYOR_PROJECT_NAME.zip" ".\x86\Release\*.exe" LICENSE.txt
Get-FileHash ".\x86\Release\*.exe" | Format-List
Get-FileHash "$env:APPVEYOR_PROJECT_NAME.zip" -Algorithm SHA256 | Format-List
artifacts:
- path: $(APPVEYOR_PROJECT_NAME).zip
name: $(FRIENDLY_NAME)
deploy:
release: $(APPVEYOR_REPO_TAG_NAME)
description: $(FRIENDLY_NAME) $(APPVEYOR_REPO_TAG_NAME)
provider: GitHub
auth_token:
secure: w5YuQOim+G+U7FxxrL0BH6t0trCWKCs9DMZlF4xqF2XGC6SymzwaJrPWrKeeJHPK
artifact: /.*\.zip/
draft: false
prerelease: false