-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
90 lines (67 loc) · 2.06 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
89
# See http://www.appveyor.com/docs/appveyor-yml for reference
#---------------------------------#
# general configuration #
#---------------------------------#
environment:
NUGET_RELEASE_VERSION: 2.0.2
NUGET_FILE: NFig.Redis\NFig.Redis.nuspec
ASSEMBLY_FILE: NFig.Redis\Properties\AssemblyInfo.cs
version: $(NUGET_RELEASE_VERSION).{build}
#---------------------------------#
# environment configuration #
#---------------------------------#
os: Visual Studio 2015 RC
assembly_info:
patch: true
file: $(ASSEMBLY_FILE)
assembly_version: $(MAJOR_VERSION)
assembly_file_version: $(appveyor_build_version)
assembly_informational_version: $(NUGET_VERSION)
install:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
- ps: Scripts\SetNugetVersion.ps1
#---------------------------------#
# build configuration #
#---------------------------------#
platform: Any CPU
configuration: Release
build:
project: NFig.Redis\NFig.Redis.csproj
publish_nuget: true
publish_nuget_symbols: true
verbosity: normal
#---------------------------------#
# tests configuration #
#---------------------------------#
#---------------------------------#
# artifacts configuration #
#---------------------------------#
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
- provider: GitHub
release: $(APPVEYOR_REPO_TAG_NAME)
auth_token:
secure: gbdN6iXbtLTk1MiBecxRJvdoc6fR6x4AEFAQNuZ+UMR9NvQnXW12PXfd16gtGVGp
artifact: /.*\.nupkg/
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