-
Notifications
You must be signed in to change notification settings - Fork 58
/
appveyor.yml
83 lines (68 loc) · 2.11 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
76
77
78
79
80
81
82
83
# version format
version: 1.7.2.{build}
os: Visual Studio 2017
cache:
- packages -> src\**\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
configuration: Release
branches:
only:
- develop
- master
environment:
# Version Suffix
version_suffix: alpha
install:
- ps: .\build\appveyor-semver.ps1
- ps: .\build\check-release-version.ps1
- ps: Update-AppveyorBuild -Version $Env:appveyor_version
assembly_info:
patch: true
file: 'source\nuPickers**\AssemblyInfo.*'
assembly_version: '$(appveyor_file_version)'
assembly_file_version: '$(appveyor_file_version)'
assembly_informational_version: '$(mssemver)'
build_script:
- cmd: >-
build-appveyor.cmd
cd..
artifacts:
- path: artifacts\*.nupkg
- path: artifacts\*.zip
deploy:
# MyGet Deployment for builds
- provider: NuGet
server: https://www.myget.org/F/nupickers/
symbol_server: https://www.myget.org/F/nupickers/symbols/api/v2/package
api_key:
secure: SASQGWG/4zNns7bwSSsJ5RPvKcKfJsBeEPuw69wsVPA3PO739QmzVtc5VwQwgvbr
artifact: /.*\.nupkg/
on:
branch: develop
# MyGet Deployment for releases
- provider: NuGet
server: https://www.myget.org/F/nupickers/
symbol_server: https://www.myget.org/F/nupickers/symbols/api/v2/package
api_key:
secure: SASQGWG/4zNns7bwSSsJ5RPvKcKfJsBeEPuw69wsVPA3PO739QmzVtc5VwQwgvbr
artifact: /.*\.nupkg/
on:
branch: master
# NuGet Deployment for releases
- provider: NuGet
server:
api_key:
secure: adk3pI9HCByZg2VRxplX9UR6qHf97bA3as6dusxLswCKI8BQQE8DO5a0frLrI+EO
artifact: /.*\.nupkg/
on:
branch: master
appveyor_repo_tag: true # deploy on tag push only
# GitHub Deployment for releases
- provider: GitHub
auth_token:
secure: c0LwOGqoFZIieyy8CHrUtYQOD0HL0rG5tV2DS+8FHv34BKs/LSGGtmWWep5O7GbV
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