Skip to content

Commit ec6b1ae

Browse files
committed
Changes for 2.0 release including package dependencies.
1 parent 1dec4f2 commit ec6b1ae

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The console sink for Serilog.
66

77
Writes to the system console. The colored console sink's boring cousin.
88

9+
To use the console sink, first install the NuGet package:
10+
11+
```powershell
12+
Install-Package Serilog.Sinks.Console
13+
```
14+
915
```csharp
1016
var log = new LoggerConfiguration()
1117
.WriteTo.Console()

appveyor.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
version: '{build}'
2+
skip_tags: true
23
image: Visual Studio 2015
34
configuration: Release
45
install:
56
- ps: mkdir -Force ".\build\" | Out-Null
6-
- ps: Invoke-WebRequest "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.ps1" -OutFile ".\build\installcli.ps1"
7+
- ps: Invoke-WebRequest "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview2/scripts/obtain/dotnet-install.ps1" -OutFile ".\build\installcli.ps1"
78
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetcli"
8-
- ps: '& .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath'
9+
- ps: '& .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath -Version 1.0.0-preview2-003121'
910
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
1011
build_script:
1112
- ps: ./Build.ps1
@@ -18,4 +19,11 @@ deploy:
1819
secure: nvZ/z+pMS91b3kG4DgfES5AcmwwGoBYQxr9kp4XiJHj25SAlgdIxFx++1N0lFH2x
1920
skip_symbols: true
2021
on:
21-
branch: /^(dev|master)$/
22+
branch: /^(master)$/
23+
- provider: GitHub
24+
auth_token:
25+
secure: Bo3ypKpKFxinjR9ShkNekNvkob2iklHJU+UlYyfHtcFFIAa58SV2TkEd0xWxz633
26+
artifact: /Serilog.*\.nupkg/
27+
tag: v$(appveyor_build_version)
28+
on:
29+
branch: master

src/Serilog.Sinks.Console/project.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "2.0.0-rc-*",
2+
"version": "2.0.0-*",
33
"description": "The console sink for Serilog.",
44
"authors": [
55
"Serilog Contributors"
@@ -14,7 +14,7 @@
1414
"iconUrl": "http://serilog.net/images/serilog-sink-nuget.png"
1515
},
1616
"dependencies": {
17-
"Serilog": "2.0.0-rc-556"
17+
"Serilog": "2.0.0"
1818
},
1919
"buildOptions": {
2020
"keyFile": "../../assets/Serilog.snk"
@@ -23,7 +23,7 @@
2323
"net4.5": {},
2424
"netstandard1.3": {
2525
"dependencies": {
26-
"System.Console": "4.0.0-rc2-24027"
26+
"System.Console": "4.0.0"
2727
}
2828
}
2929
}

0 commit comments

Comments
 (0)