forked from MaterialDesignInXAML/MaterialDesignInXamlToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
63 lines (58 loc) · 1.62 KB
/
appveyor.yml
File metadata and controls
63 lines (58 loc) · 1.62 KB
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
# configuration for master/CI branch
-
branches:
only:
- master
os: Visual Studio 2017
configuration: AppVeyor
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '2.5.1.{build}'
assembly_file_version: '2.5.1.{build}'
assembly_informational_version: '2.5.1.{build}'
environment:
RestorePackages: false
before_build:
- ps: .paket\paket.exe restore
build:
project: MaterialDesignToolkit.Wpf.sln
verbosity: minimal
after_build:
- ps: nuget pack MaterialDesignThemes.nuspec -Version $env:APPVEYOR_BUILD_VERSION
- ps: 7z a Demo.2.5.1.$env:APPVEYOR_BUILD_NUMBER.zip MainDemo.Wpf\bin\**\*.*
artifacts:
- path: '**\MaterialDesignThemes.*.nupkg'
- path: Demo.*.zip
version: 2.5.1-ci{build}
deploy:
- provider: NuGet
api_key:
secure: B+WIdbRYr/rJo1QMeDwNen2xcj4RTu1d8AZiA03kb8wsWZVQxt5OgsWRacmEjWRd
# configuration for release branch
-
branches:
only:
- release
os: Visual Studio 2017
configuration: AppVeyor
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
environment:
RestorePackages: false
before_build:
- ps: .paket\paket.exe restore
build:
project: MaterialDesignToolkit.Wpf.sln
verbosity: minimal
after_build:
- ps: nuget pack MaterialDesignThemes.nuspec -Version $env:APPVEYOR_BUILD_VERSION
- ps: 7z a Demo.$env:APPVEYOR_BUILD_VERSION.zip MainDemo.Wpf\bin\**\*.*
artifacts:
- path: '**\MaterialDesignThemes.*.nupkg'
- path: Demo.*.zip
version: 2.5.1.{build}