-
Notifications
You must be signed in to change notification settings - Fork 19
/
appveyor.yml
44 lines (36 loc) · 1.17 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
image: Visual Studio 2017
# version format
version: 0.2.0.{build}
# UMBRACO_PACKAGE_PRERELEASE_SUFFIX if a rtm release build this should be blank, otherwise if empty will default to alpha
# example UMBRACO_PACKAGE_PRERELEASE_SUFFIX=beta
init:
- set UMBRACO_PACKAGE_PRERELEASE_SUFFIX=
cache:
- src\packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
before_build:
- nuget restore src
build_script:
- build-appveyor.cmd
artifacts:
- path: artifacts\*.nupkg
- path: artifacts\*.zip
deploy:
# GitHub Deployment for releases
- provider: GitHub
auth_token:
secure: k1eoY0KXg/FPYKGDeVJCl31exw28E7ToEZmAgc2M9VfbnSN6HeWltfTe7u20lvP7
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: q2Aov00i+eWTpbwWHB1JN8EAGw4o8FaOC2lj2MolyS6TGkUUFTJK/vQTQzaf/EQ5
artifact: /.*\.nupkg/
on:
branch: master
appveyor_repo_tag: true