-
Notifications
You must be signed in to change notification settings - Fork 11
/
appveyor.yml
37 lines (29 loc) · 881 Bytes
/
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
image: Visual Studio 2017
platform: Any CPU
environment:
version: $(APPVEYOR_BUILD_VERSION)
configuration:
- Release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '%version%'
package_version: '%version%'
assembly_version: '%version%'
file_version: '%version%'
informational_version: '%version%'
before_build:
- dotnet restore
build:
project: Serilog.Sinks.InfluxDB.sln
after_test:
- dotnet pack --configuration Release /p:Version=%version%
artifacts:
- path: Serilog.Sinks.InfluxDB\bin\Release\netstandard2.0\Serilog.Sinks.InfluxDB.dll
name: Serilog.Sinks.InfluxDB.dll
- path: Serilog.Sinks.InfluxDB\bin\Release\Serilog.Sinks.InfluxDB.Standard.%version%.nupkg
name: Serilog.Sinks.InfluxDB.Standard.%version%.nupkg
deploy:
provider: NuGet
api_key:
secure: csyDlyeSjDmdYAQ/PK0GYNZ4ofK/yC6vd5ZLPnG2TgujmrAW7fUiQxjDVOWD4XAX