forked from serilog-contrib/serilog-sinks-elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
39 lines (39 loc) · 1.03 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
version: '{build}'
image: Visual Studio 2017
skip_tags: true
build_script:
- ps: ./Build.ps1
test: off
artifacts:
- path: artifacts/Serilog.Sinks.Elasticsearch*.*nupkg
- path: artifacts/Serilog.Formatting.Elasticsearch*.*nupkg
only_commits:
files:
- serilog-sinks-elasticsearch.sln
- src/Serilog.Sinks.Elasticsearch/
- src/Serilog.Formatting.Elasticsearch/
- nuget.config
- Build.ps1
- assets/
- appveyor.yml
- test/Serilog.Sinks.Elasticsearch.Tests/
deploy:
- provider: NuGet
api_key:
secure: jWslQvxA4UMn98aYnsFDBfl8A2vAXUjtmmPZNxZnbJvMW/JV55iQ1fRcqD9B70sK
on:
branch: /^(master|dev)$/
- provider: GitHub
auth_token:
secure: XSO0LDYd89yw5rAQ8HvAgdX7NBo1m4bEqHlj0NZxtA6zKunLwCSYoVHU+k3cvQIP
on:
branch: master
artifact: /Serilog.*\.nupkg/
tag: v$(appveyor_build_version)
install:
- choco install gitversion.portable -y
assembly_info:
patch: false
before_build:
- dotnet restore serilog-sinks-elasticsearch.sln
- ps: gitversion /l console /output buildserver /updateAssemblyInfo