forked from Sitecore/Habitat
-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
58 lines (46 loc) · 1.48 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
# version format
version: 2.0.a-{build}
# branches to build
branches:
# whitelist
only:
- /release*/
except:
- master
- original-repo
# build Configuration, i.e. Debug, Release, etc.
# configuration:
# - Release
image: Visual Studio 2017
install:
# - choco install gitversion.portable -pre -y
nuget:
account_feed: false
#---------------------------------#
# build configuration #
#---------------------------------#
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: Any CPU
before_build:
- nuget restore Habitat.sln
# - ps: gitversion /l console /output buildserver /updateAssemblyInfo
build_script:
- cmd: msbuild Habitat.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /verbosity:detailed # /p:PackageVersion=%GitVersion_SemVer%
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: src\Project\Habitat\tds\Sitecore.Habitat.Website.Master\bin\Package_Release\*
#---------------------------------#
# deploy configuration #
#---------------------------------#
deploy:
description: 'Habitat'
provider: GitHub
auth_token:
secure: vMfLJBfd7tN7ijjHaiJ1DSbqJzKP7M0i0zJ4k2SSFPj/t+vl9Kp+jFPt/wExjXOa # your encrypted token from GitHub
artifact: /.*\.update/
draft: false
prerelease: false
on:
appveyor_repo_tag: true # deploy on tag push only