-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
appveyor.yml
76 lines (59 loc) · 1.65 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
image: Visual Studio 2017
# Version format
version: 2.4.0.{build}
branches:
only:
- develop
- master
init:
- set UMBRACO_PACKAGE_PRERELEASE_SUFFIX=beta
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
cache:
- src\packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
platform: Any CPU
configuration: Release
before_build:
- nuget restore src
build:
parallel: true
project: src\Our.Umbraco.Nexu.sln
verbosity: minimal
after_build:
- cd Packaging
- build-appveyor.bat
artifacts:
- path: artifacts\*.nupkg
- path: artifacts\*.zip
deploy:
# MyGet Deployment for beta releases
- provider: NuGet
server: https://www.myget.org/F/dawoe-umbraco/api/v2/package
api_key:
secure: xuhyqGpLpjeK0tUansB6IVWy89Fw+yqGqCmCpVuAY1fnDjfYrxA/gVGNBh8oU0JA
artifact: /.*\.nupkg/
on:
branch: develop
# GitHub Deployment for releases
- provider: GitHub
auth_token:
secure: 2NNEN9lVF0/cA40PZrm64BMMK34Y26A8xK22eUdWcN/7Nn5KyyRH2+THumy91tcV
artifact: /.*\.zip/ # upload all Zip packages to release assets
draft: false
prerelease: false
on:
branch: master
appveyor_repo_tag: true # deploy on tag push only
# NuGet Deployment for releases
- provider: NuGet
server:
api_key:
secure: f5ijMJdo8hygOHm+RRD4pCBcRqj6uw4AWqDgG4MvA1x5sgdmcuRxvdtN1Cn2NB6I
artifact: /.*\.nupkg/
on:
branch: master
appveyor_repo_tag: true