-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathappveyor.yml
60 lines (48 loc) · 1.69 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
# branches to build
branches:
# whitelist
only:
- /release*/
- develop
- master
install:
- choco install gitversion.portable -pre -y
- nuget sources add -Name MyAccountFeed -Source https://ci.appveyor.com/nuget/seanholmesby-a4t5wrp1ias0 -UserName %nuget_user% -Password %nuget_password%
nuget:
account_feed: false
project_feed: false
#---------------------------------#
# build configuration #
#---------------------------------#
#branches:
# only:
# - master
image: Visual Studio 2017
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: Any CPU
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
before_build:
- nuget restore Source\LaunchSitecoreMvc.sln
- ps: gitversion /l console /output buildserver /updateAssemblyInfo
build_script:
- cmd: msbuild Source\LaunchSitecoreMvc.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /verbosity:normal /p:PackageVersion=%GitVersion_SemVer%
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: Source\TDS.MVC.Master\bin\Package_$(configuration)\*.update
- path: Source\LaunchSitecoreMvc\bin\Launch*
#---------------------------------#
# deploy configuration #
#---------------------------------#
deploy:
description: 'LaunchSitecoreMvc'
provider: GitHub
auth_token:
secure: msVKXtRiopd61F8PvlpMwvsh3UfnE1t4asmJTb8qp4BFJkqTCmwFrSXkKC2Amo09 # your encrypted token from GitHub
artifact: /.*\.update/
draft: false
prerelease: false
on:
appveyor_repo_tag: true # deploy on tag push only