diff --git a/.publish-nuget-package.cmd b/.rebuild-nuget-package.cmd
similarity index 78%
rename from .publish-nuget-package.cmd
rename to .rebuild-nuget-package.cmd
index 4291ca0e..a4db0813 100644
--- a/.publish-nuget-package.cmd
+++ b/.rebuild-nuget-package.cmd
@@ -13,8 +13,4 @@ dotnet build --force --no-incremental --configuration Release "./%SolutionName%.
dotnet pack --no-build --configuration Release "./%SolutionName%.sln" || exit /b 1
-pushd "./%SolutionName%/bin/Release"
-dotnet nuget push *.nupkg -s https://nuget.org || exit /b 1
-popd
-
pause
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index dab327dc..17ee7db5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog
+## v1.0.x - 2019.11.13
+- Use [SourceLink](https://github.com/dotnet/sourcelink) to help ReSharper decompiler show actual code.
+
## 1.0.12 - 2019.10.10
- Target .NET Standard 2.0 (PR [#1](https://github.com/skbkontur/Metrics.NET/pull/1)).
- Remove ElasticSearch and InfluxDB reporters from the library.
diff --git a/Directory.Build.props b/Directory.Build.props
index adb4f263..18865e87 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -4,15 +4,16 @@
full
true
- true
+ true
$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb
+
diff --git a/Metrics.Tests/Metrics.Tests.csproj b/Metrics.Tests/Metrics.Tests.csproj
index e2090898..5354124d 100644
--- a/Metrics.Tests/Metrics.Tests.csproj
+++ b/Metrics.Tests/Metrics.Tests.csproj
@@ -7,7 +7,7 @@
-
+
diff --git a/appveyor.yml b/appveyor.yml
index ed859c2f..524488c6 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -4,7 +4,7 @@ skip_commits:
files:
- '**/*.md'
-image: Visual Studio 2017
+image: Visual Studio 2019
init:
- cmd: git config --global core.autocrlf false
@@ -15,7 +15,7 @@ init:
{
$env:SHOULD_PUBLISH_NUGET_PACKAGE = "true"
Write-Host "Will publish nuget package for $tagName tag" -ForegroundColor "Green"
- if ($tagName -match '^v\d+\.\d+-release$') # tag name matches 'vX.Y-release'
+ if ($tagName -match '^v\d+\.\d+-release') # tag name starts with 'vX.Y-release' (e.g. use 'v4.2-release.1' tag for the first patch for release v4.2)
{
$env:SHOULD_CREATE_RELEASE = "true"
Write-Host "Will create release for $tagName tag" -ForegroundColor "Green"
@@ -34,7 +34,7 @@ build_script:
- cmd: dotnet pack --no-build --configuration Release ./Metrics.sln
test_script:
- - cmd: dotnet test --no-build --configuration Release ./Metrics.Tests/Metrics.Tests.csproj
+ - cmd: dotnet test --no-build --verbosity normal --configuration Release ./Metrics.Tests/Metrics.Tests.csproj
artifacts:
- path: './Metrics/bin/Release/*.nupkg'
diff --git a/global.json b/global.json
index ba252714..3cd92d11 100644
--- a/global.json
+++ b/global.json
@@ -1,5 +1,5 @@
{
"sdk": {
- "version": "2.2.301"
+ "version": "2.2.402"
}
}
\ No newline at end of file