-
Notifications
You must be signed in to change notification settings - Fork 14
/
appveyor.yml
47 lines (46 loc) · 1.36 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
version: 2.6.{build}-alpha
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
- develop
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- choco install msbuild.communitytasks -y
before_build:
- ps: ((Get-Content -path "C:\projects\dd4t-core\DD4T Core.Targets" | Out-String) -replace [Regex]::Escape('$(SolutionDir)packages\MSBuildTasks.1.5.0.235\build\MSBuildTasks.targets'),'C:\Program Files (x86)\MSBuild\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets') | Set-Content -Path "C:\projects\dd4t-core\DD4T Core.Targets"
build:
project: build.msbuild
verbosity: normal
artifacts:
- path: build/package/**/*.nupkg
name: NuGet Package
- path: build/package/**/*.zip
name: Zip Archive
notifications:
- provider: Slack
auth_token:
secure: sPqYbVki+502+OjRT+o3eITyiG8UDZ0Fu4M1fejZxs3O6OKtYu9JCNS9Ssw3/XjL
channel: development
skip_commits:
message: /\[nobuild\]/
deploy:
- provider: NuGet
api_key:
secure: 88PTY4aknzE3Kev1FNnzpo37htA8qZKhjQxiNgbbcPQzgHBMI5fqb6bhjCnLQq8R
artifact: /.*\.nupkg/
on:
branch: develop
- provider: NuGet
api_key:
secure: 88PTY4aknzE3Kev1FNnzpo37htA8qZKhjQxiNgbbcPQzgHBMI5fqb6bhjCnLQq8R
artifact: /.*\.nupkg/
on:
branch: master