forked from ControlzEx/ControlzEx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
69 lines (54 loc) · 1.83 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# http://www.appveyor.com/docs/appveyor-yml
# configuration for develop/CI branch
-
branches:
only:
- develop
version: 3.0.1-dev{build}
configuration: Release
init:
- ps: Update-AppveyorBuild -Version "$($env:appveyor_build_version.Replace("-dev$env:appveyor_build_number", "-dev"))$($env:appveyor_build_number.PadLeft(4, '0'))"
# Install scripts. (runs after repo cloning)
install:
- nuget restore
build:
verbosity: minimal
after_build:
- cmd: Tools\GitLink.exe . -u https://github.com/ControlzEx/ControlzEx
- cmd: nuget pack ControlzEx.nuspec -Version %appveyor_build_version% -Properties Configuration=%configuration%
- ps: Get-ChildItem .\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
assembly_info:
patch: true
file: src\GlobalAssemblyInfo.*
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
artifacts:
- path: src/bin
name: ControlzEx.$(appveyor_build_version)
type: zip
# configuration for master/Release branch
-
branches:
only:
- master
version: 2.2.0.{build}
configuration: Release
# Install scripts. (runs after repo cloning)
install:
- nuget restore
build:
verbosity: minimal
after_build:
- cmd: Tools\GitLink.exe . -u https://github.com/ControlzEx/ControlzEx
- cmd: nuget pack ControlzEx.nuspec -Version %appveyor_build_version% -Properties Configuration=%configuration%
- ps: Get-ChildItem .\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
assembly_info:
patch: true
file: src\GlobalAssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
artifacts:
- path: src/bin
name: ControlzEx.$(appveyor_build_version)
type: zip