-
Notifications
You must be signed in to change notification settings - Fork 3.4k
/
appveyor.yml
65 lines (60 loc) · 1.6 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
# configuration for master/CI branch
-
branches:
only:
- master
os: Visual Studio 2015
configuration: AppVeyor
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '2.3.0.{build}'
assembly_file_version: '2.3.0.{build}'
assembly_informational_version: '2.3.0.{build}'
environment:
RestorePackages: false
install:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
before_build:
- ps: .paket\paket.exe install
build:
project: MaterialDesignToolkit.Wpf.sln
verbosity: minimal
after_build:
- ps: nuget pack MaterialDesignThemes.nuspec -Version $env:APPVEYOR_BUILD_VERSION
artifacts:
- path: '**\MaterialDesignThemes.*.nupkg'
- path: bin\**\*.*
version: 2.3.0-ci{build}
deploy:
- provider: NuGet
api_key:
secure: B+WIdbRYr/rJo1QMeDwNen2xcj4RTu1d8AZiA03kb8wsWZVQxt5OgsWRacmEjWRd
# configuration for release branch
-
branches:
only:
- release
os: Visual Studio 2015
configuration: AppVeyor
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
environment:
RestorePackages: false
install:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
before_build:
- ps: .paket\paket.exe install
build:
project: MaterialDesignToolkit.Wpf.sln
verbosity: minimal
after_build:
- ps: nuget pack MaterialDesignThemes.nuspec -Version $env:APPVEYOR_BUILD_VERSION
artifacts:
- path: '**\MaterialDesignThemes.*.nupkg'
- path: bin\**\*.*
version: 2.3.0.{build}