-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy pathappveyor.yml
115 lines (94 loc) · 3.15 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
version: 3.1.1.{build}
os: Visual Studio 2022
cache:
- src\packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
configuration: Release
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
- cmd: >-
cd build
npm install
node appveyor-nuspec-patch.js
cd..
#- ps: >-
# $msiPath = "$($env:USERPROFILE)\MicrosoftAzureStorageEmulator.msi"
# (New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/F/3/8/F3857A38-D344-43B4-8E5B-2D03489909B9/MicrosoftAzureStorageEmulator.msi', $msiPath)
# cmd /c start /wait msiexec /i $msiPath /quiet
assembly_info:
patch: true
file: 'src\UmbracoFileSystemProviders.Azure**\AssemblyInfo.*'
assembly_version: '$(appveyor_file_version)'
assembly_file_version: '$(appveyor_file_version)'
assembly_informational_version: '$(mssemver)'
build_script:
- cmd: >-
build-appveyor.cmd
cd..
before_test:
- cmd: >-
npm install -g azurite
- ps: >-
Start-Process azurite-blob.cmd -PassThru
artifacts:
- path: artifacts\*.nupkg
- path: artifacts\*.zip
deploy:
# Umbraco MyGet community feed - v3
- provider: NuGet
server: https://www.myget.org/F/umbraco-packages/api/v2/package
symbol_server: https://www.myget.org/F/umbraco-packages/symbols/api/v2/package
api_key:
secure: yvlnQEq6tmxGOdbtTuKyAhcdY1GCD98/sG9+Qo7y7SNb89GAbjLXxueOMspkjvUh
artifact: /.*\.nupkg/
on:
branch: develop-version-3
# NuGet Deployment for releases - v3
- provider: NuGet
server:
api_key:
secure: TtE4dizVNNLoy4gfrJDGRH1/vfNMTXiAxuMW0va1bcO1ZPXCw0qy12PUfIB+h9O3
artifact: /.*\.nupkg/
on:
branch: main-version-3
appveyor_repo_tag: true
# Umbraco MyGet community feed
- provider: NuGet
server: https://www.myget.org/F/umbraco-packages/api/v2/package
symbol_server: https://www.myget.org/F/umbraco-packages/symbols/api/v2/package
api_key:
secure: yvlnQEq6tmxGOdbtTuKyAhcdY1GCD98/sG9+Qo7y7SNb89GAbjLXxueOMspkjvUh
artifact: /.*\.nupkg/
on:
branch: develop-version-2
# NuGet Deployment for releases - v2
- provider: NuGet
server:
api_key:
secure: TtE4dizVNNLoy4gfrJDGRH1/vfNMTXiAxuMW0va1bcO1ZPXCw0qy12PUfIB+h9O3
artifact: /.*\.nupkg/
on:
branch: master-version-2
appveyor_repo_tag: true
# MyGet Deployment for builds & releases -v1
- provider: NuGet
server: https://www.myget.org/F/umbraco-packages/api/v2/package
symbol_server: https://www.myget.org/F/umbraco-packages/symbols/api/v2/package
api_key:
secure: yvlnQEq6tmxGOdbtTuKyAhcdY1GCD98/sG9+Qo7y7SNb89GAbjLXxueOMspkjvUh
artifact: /.*\.nupkg/
on:
branch: develop-version-1
# NuGet Deployment for releases - v1
- provider: NuGet
server:
api_key:
secure: TtE4dizVNNLoy4gfrJDGRH1/vfNMTXiAxuMW0va1bcO1ZPXCw0qy12PUfIB+h9O3
artifact: /.*\.nupkg/
on:
branch: main-version-1
appveyor_repo_tag: true