forked from markitondemand/MOD.Web.Element
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
47 lines (43 loc) · 1.29 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
#
# For more details, see http://www.appveyor.com/docs/appveyor-yml
#
version: 1.0.{build}
# don't build on tags
skip_tags: true
# always build in Release mode
configuration: Release
# restore the nuget packages prior to attempting a build
before_build:
- nuget restore
build:
project: MOD.Web.Element.sln
verbosity: minimal
publish_nuget: true
# enable patching of AssemblyInfo.* files
assembly_info:
patch: true
file: 'Properties\AssemblyInfo.cs'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
nuget:
account_feed: true
# disable the project feed since we will be sending the package to Nuget.org
project_feed: false
# do not publish a nuget package for pull requests
disable_publish_on_pr: true
deploy:
# Deploying to NuGet feed
- provider: NuGet
# commenting out the below so that this goes to Nuget.org
#server: https://my.nuget.server/feed
api_key:
# see https://ci.appveyor.com/tools/encrypt
secure: Y3tfv+WMI1ujvFWb8/r6Dl9OD+SgZRv/86BuTOaFHbX+7UBe42rvnejZcTjqI2fY
# not sure about publishing symbols at this time...
skip_symbols: true
#symbol_server: https://your.symbol.server/feed
artifact: /.*\.nupkg/
# cache these files in order to decrease build time
cache:
- packages