-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathappveyor.yml
53 lines (41 loc) · 1.3 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
shallow_clone: true
# version format
version: 1.3.{build}
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf input
cache:
- SDelete-Gui\packages
# Do not build on tags (GitHub only)
skip_tags: true
configuration: Release
# Assembly Info
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
environment:
sign_tool: 'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\signtool.exe'
artifact_path: 'C:\projects\sdelete-gui\SDelete-Gui\SDelete-Gui\bin\Release\SDelete-Gui.exe'
timestamp_url: http://timestamp.verisign.com/scripts/timstamp.dll
pfx_file: 'C:\projects\sdelete-gui\CodeSigningCertificate.pfx'
pfx_password:
secure: ugchYa6faIXJ4MAlCLsu0AT1uu5hh4YoV3qa3jJdBr4=
after_build:
- cmd: '"%sign_tool%" sign /f "%pfx_file%" /p %pfx_password% /t %timestamp_url% "%artifact_path%"'
artifacts:
- path: '**\bin\Release\SDelete-Gui.exe'
name: SDelete-Gui.exe
deploy:
release: SDelete-Gui $(appveyor_build_version)
provider: GitHub
description: ''
auth_token:
secure: Q+20Xaui8ng5gVvoMIkb0g4F0oqMZFVOJo4SNRc+KVN91WkjLe5gTMkifCyDZTlE
artifact: SDelete-Gui.exe
draft: false
prerelease: false
on:
branch: master