-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.appveyor.yml
72 lines (58 loc) · 1.5 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
69
70
71
init:
- ps: if ($env:APPVEYOR_REPO_TAG -eq "true") { $env:TAG_VERSION = "$env:APPVEYOR_REPO_TAG_NAME.$env:APPVEYOR_BUILD_NUMBER" } else { $env:TAG_VERSION = "v1.0.0.$env:APPVEYOR_BUILD_NUMBER-alpha" }
- ps: $env:TAG_VERSION = $env:TAG_VERSION -replace 'v',''
- ps: Write-Host "Setting version to '$env:TAG_VERSION'"
- ps: Update-AppveyorBuild -Version "$env:TAG_VERSION"
image: Visual Studio 2017
configuration: Release
pull_requests:
do_not_increment_build_number: true
nuget:
disable_publish_on_pr: true
skip_commits:
files:
- .gitignore
- LICENSE
- README.md
cache:
- packages -> **\packages.config
- '%LocalAppData%\NuGet\Cache'
assembly_info:
patch: true
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
before_build:
- nuget restore Chattel.sln
build:
project: Chattel.sln
parallel: true
verbosity: minimal
publish_nuget: true
publish_nuget_symbols: false
after_build:
- rename bin Chattel-dotnet
test:
assemblies:
only:
- Chattel-AssetToolsTests.dll
artifacts:
- path: Chattel-dotnet
name: Chattel-dotnet
type: zip
deploy:
- provider: NuGet
name: nuget_release
api_key:
secure: eMi61TCJohmMhZYLFM/uvifDfCyG6qInNW4M/wfV4V2uiNfENosdnLE2pW4OfCJW
skip_symbols: true
on:
appveyor_repo_tag: true
- provider: GitHub
auth_token:
secure: gpjXQ5PG/MFMyNox2AU7el54GG6t8zZe+E1Kqy0d58rZ5EsbHc0YcQj0Te/9lfib
artifact: Chattel-dotnet
draft: true
prerelease: false
on:
appveyor_repo_tag: true