-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
21 lines (21 loc) · 937 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: 1.2.{build}
configuration: Release
environment:
containerURL:
secure: 5ScgXebma0ZLFaW1DPgEdqis7MzXvPJL+c1O+f+gfkzqwAEzVmhk6ZmISlcgxCL3XOLD5ID2nweLVV5CitmsDsC6PVlxsbfDFgmolBxKHg4=
referenceFolder: References
install:
# get all files from container
- ps: $containerList = "$env:TEMP\references.xml"
- ps: Invoke-RestMethod -Uri "$env:containerURL`?restype=container&comp=list" -OutFile $containerList
- ps: $files = Select-Xml -XPath "//Name" -Path $containerList | foreach { $_.Node.InnerText }
- ps: foreach ($file in $files) { Invoke-RestMethod -Uri "$env:containerURL/$file" -OutFile "$env:referenceFolder\$file" }
build:
project: TFSAggregator.sln
verbosity: normal
after_build:
- cd bin\%CONFIGURATION%
- 7z a "%APPVEYOR_PROJECT_NAME%-%APPVEYOR_BUILD_VERSION%_(%APPVEYOR_REPO_BRANCH%).zip" * -r -x!Microsoft.* -x!System.* -x!Newtonsoft.*
- cd ..
artifacts:
- path: 'bin\$(configuration)\*.zip'