-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
42 lines (41 loc) · 1.05 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
version: '1.3.1.{build}'
branches:
only:
- master-v7
- master-v8
- dev-v7
- dev-v8
image: Visual Studio 2017
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
cache:
- packages -> **\packages.config
before_build:
- ps: '& ".\build\restore.ps1"'
build:
verbosity: minimal
after_build:
- ps: '& ".\build\pack.ps1"'
deploy:
- provider: GitHub
release: $(APPVEYOR_REPO_TAG_NAME)
auth_token:
secure: RtBYlXMtdRw5+I8HlXeQxuKUJtoMCjH9inU8Gq6/JUQNB/jSAjhE+W913NR6yHQz
artifact: /.*/ # upload all NuGet packages to release assets
draft: false
prerelease: false
tag: $(APPVEYOR_REPO_TAG_NAME)
on:
branch: /master([-]v[0-9])?/ # release from master branch only
APPVEYOR_REPO_TAG: true
- provider: NuGet
api_key:
secure: 5Wn5N0mjZaYlBvXqVIdydyAoXyHY7R0HZMhcdNWXi1telyEIBz2UHWNowZeZL7aJ
on:
branch: /master([-]v[0-9])?/
APPVEYOR_REPO_TAG: true