-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathappveyor.yml
89 lines (68 loc) · 2.15 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# See http://www.appveyor.com/docs/appveyor-yml for reference
#---------------------------------#
# general configuration #
#---------------------------------#
environment:
NUGET_RELEASE_VERSION: 1.0.1
NUGET_FILE: Mayflower\Mayflower.nuspec
ASSEMBLY_FILE: Mayflower\Properties\AssemblyInfo.cs
version: $(NUGET_RELEASE_VERSION).{build}
#---------------------------------#
# environment configuration #
#---------------------------------#
assembly_info:
patch: true
file: $(ASSEMBLY_FILE)
assembly_version: $(MAJOR_VERSION)
assembly_file_version: $(appveyor_build_version)
assembly_informational_version: $(NUGET_VERSION)
install:
- ps: Scripts\SetNugetVersion.ps1
- del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
#---------------------------------#
# build configuration #
#---------------------------------#
platform: Any CPU
configuration: Release
build:
project: Mayflower.sln
publish_nuget: true
publish_nuget_symbols: true
verbosity: normal
#---------------------------------#
# tests configuration #
#---------------------------------#
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: MayflowerCLI\bin\$(configuration)\mayflower.exe
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
- provider: GitHub
release: $(APPVEYOR_REPO_TAG_NAME)
auth_token:
secure: gbdN6iXbtLTk1MiBecxRJvdoc6fR6x4AEFAQNuZ+UMR9NvQnXW12PXfd16gtGVGp
artifact: /^.*(\.nupkg|mayflower\.exe)$/
draft: false
prerelease: false
on:
appveyor_repo_tag: true
# for pre-release versions
- provider: NuGet
api_key:
secure: NiH62CvEa6ztPGnR9glvKexCL5sJStB62JcJ/8CcVJJAj7rkCzZvfN87E5xPpNd0
artifact: /.*\.nupkg/
skip_symbols: false
on:
branch: master
# for release versions
- provider: NuGet
api_key:
secure: NiH62CvEa6ztPGnR9glvKexCL5sJStB62JcJ/8CcVJJAj7rkCzZvfN87E5xPpNd0
artifact: /.*\.nupkg/
skip_symbols: false
on:
appveyor_repo_tag: true