-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (50 loc) · 1.32 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
-
branches:
except:
- stable
skip_branch_with_pr: true
version: '{branch}-build{build}'
skip_tags: true
clone_depth: 5
configuration:
- Debug
- Release
before_build:
- ps: Import-Module .\build\psake.psm1
- ps: $env:VERSION_SUFFIX = 'preview' + "$env:APPVEYOR_BUILD_NUMBER".PadLeft(4, "0")
build_script:
- ps: |
Invoke-Psake .\build\build.ps1 -properties @{"Configuration"=$env:CONFIGURATION;"VersionSuffix"=$env:VERSION_SUFFIX}
if ($psake.build_success -eq $false) { exit 1 }
test: off
artifacts:
- path: 'artifacts\*.nupkg'
deploy:
on:
configuration: Debug
provider: NuGet
api_key:
secure: T+mZG82JKtFeFvMcDiQPrDCTxoFIjmnWAg6bufXFChOmq9smm6BMQSQVBXGNqZkH
artifact: /.*\.nupkg/
-
branches:
only:
- stable
version: '{branch}-build{build}'
skip_tags: true
clone_depth: 5
configuration: Release
before_build:
- ps: Import-Module .\build\psake.psm1
build_script:
- ps: |
Invoke-Psake .\build\build.ps1 -properties @{"Configuration"=$env:CONFIGURATION}
if ($psake.build_success -eq $false) { exit 1 }
test: off
artifacts:
- path: 'artifacts\*.nupkg'
deploy:
provider: NuGet
api_key:
secure: T+mZG82JKtFeFvMcDiQPrDCTxoFIjmnWAg6bufXFChOmq9smm6BMQSQVBXGNqZkH
artifact: /.*\.nupkg/