-
-
Notifications
You must be signed in to change notification settings - Fork 499
/
appveyor.yml
68 lines (55 loc) · 1.98 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
version: '{build}'
image: Visual Studio 2022
environment:
NUKE_TELEMETRY_OPTOUT: 1
BogusSnkZipPassword: # OpenSource / Bogus.snk.enc.zip
secure: OqTnyfgOL1S7+NYqo4f5Mc72RsozR4CwAQ6K/YwqPBlG2LOPSoRHm9JxIHHYTecR5B3IiEe0xEyjulbBjNwQuMMSCPX+nr6oH/KfBTx9rf4=
skip_commits:
message: /(//skip\W*ci)|(read\W*me)/
init:
- ps: |
If ($Env:APPVEYOR_REPO_TAG_NAME -match "-"){
Set-AppveyorBuildVariable -Name "IsPreRelease" -Value True
}
Else{
Set-AppveyorBuildVariable -Name "IsPreRelease" -Value False
}
build_script: build.cmd ci
test: off
artifacts:
- path: __package\*.nupkg
name: NuGet
- path: __package\*.snupkg
name: Symbols
- path: __package\*.zip
name: Zip
nuget:
disable_publish_on_pr: true
deploy:
- provider: GitHub
release: 'Release $(APPVEYOR_REPO_TAG_NAME) build $(APPVEYOR_BUILD_VERSION)'
tag: $(APPVEYOR_REPO_TAG_NAME)
description: '[**CHANGE LOG**](https://github.com/bchavez/Bogus/blob/master/HISTORY.md)'
prerelease: $(IsPreRelease)
artifact: Zip, NuGet, Symbols
auth_token:
secure: 2XX+rKvAK7FXcKIKYHE4vDjOmM4hrzNy8lvS84IwU605AekfBB9XtSr82shJwhHlYMD+01g7gM/P8e9ko83ovFpAr3C2KvoaJRB7RqyUOquKK8RkcXGc8rQyylcRRrA6
on:
branch: master
appveyor_repo_tag_name: /v\d+\.\d+\.\d+/
appveyor_repo_tag: true
- provider: NuGet
server:
symbol_server:
skip_symbols: false
api_key:
secure: qrQj9+U7NioCkMEJubm65X/FgT6lA4tvms8C04/B3rOV4f7mCiCMqhJl5B9Gaeo5
artifact: NuGet, Symbols
on:
branch: master
appveyor_repo_tag_name: /v\d+\.\d+\.\d+/
appveyor_repo_tag: true
on_failure:
- ps: |
# Enables RDP for debugging and setup some tools
#$blockRdp = $true; choco install notepad2; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))