-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
89 lines (68 loc) · 2.12 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
version: 2.3.{build}
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2017
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# setting up etc\hosts file
hosts:
queue-server: 127.0.0.1
db.server.com: 127.0.0.2
# enable patching of AssemblyInfo.cs files
assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
# Automatically register private account and/or project AppVeyor NuGet feeds.
nuget:
account_feed: true
disable_publish_on_pr: true
#---------------------------------#
# build configuration #
#---------------------------------#
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
build:
parallel: true # enable MSBuild parallel builds
project: Sendwithus/SendwithusClient.sln # path to Visual Studio solution or project
verbosity: normal
# scripts to run before build
before_build:
- dotnet restore Sendwithus
# scripts to run *after* solution is built and *before* automatic packaging occurs (web apps, NuGet packages, Azure Cloud Services)
before_package:
# scripts to run after build
after_build:
dotnet pack Sendwithus/SendwithusClient/SendwithusClient.csproj
artifacts:
- path: '**/*.nupkg'
deploy:
- provider: NuGet
api_key:
secure: KZ/+GmlR0cfUu9CbM2PA5fHws0oVbcazW/KlGBc1aXKgdoKjqO4n4qIS87e8q2Kr
artifact: /.*\.nupkg/
on:
branch: master
# scripts to run before deployment
before_deploy:
# scripts to run after deployment
after_deploy:
# to run your custom scripts instead of provider deployments
deploy_script:
#---------------------------------#
# notifications #
#---------------------------------#
notifications: