forked from diadoc/diadocsdk-csharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
43 lines (38 loc) · 1.36 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
version: 1.0.{build}
os: Visual Studio 2019
assembly_info:
patch: false
platform: Any CPU
configuration:
- Debug
- Release
environment:
diadoc_signing_secret:
secure: prJOj46LFF9HWKRH4PZ8vSS7wgSkkAFIkSCkfqWfAoPNGhUcYqplF4h4PyxEmMjb
build_script:
- ps: .\build.ps1 -Target "AppVeyor" -Configuration $env:configuration -Verbosity Diagnostic
test: off
deploy:
- provider: GitHub
release: $(appveyor_repo_tag_name)
description: 'diadocsdk-csharp'
auth_token:
secure: BSnVMByuW1RN2cKD//7Y2+RRjsmhSfgBd2QK7IpyAadKDh8dIsYe4MF9bvX0SnEz # encrypted token from GitHub
artifact: diadocsdk-csharp-net35-binaries.zip;diadocsdk-csharp-net461-binaries.zip;/\.nupkg$/
draft: false
prerelease: false
on:
branch: master # release from master branch only
configuration: Release # deploy release configuration
appveyor_repo_tag: true # deploy on tag push only
appveyor_repo_tag_name: /^versions/
- provider: NuGet
api_key:
secure: sxT45S+cqDCGoXQ8UuXWk1DENvqbXmEP97LrfO9ofqqV+U8mfkDM/Ao9zdnszfwh
skip_symbols: true
artifact: /\.nupkg$/
on:
branch: master # release from master branch only
configuration: Release # deploy release configuration
appveyor_repo_tag: true # deploy on tag push only
appveyor_repo_tag_name: /^versions/