From 886fc59dce18c52022e735f951a2fec77fc3ca97 Mon Sep 17 00:00:00 2001 From: avk Date: Wed, 13 Nov 2019 18:47:15 +0500 Subject: [PATCH] * use SourceLink to help resharper decompiler show actual code * update appveyor.yml to allow github release publication from 'vX.Y-release.Z' tags --- .publish-nuget-package.cmd => .rebuild-nuget-package.cmd | 4 ---- CHANGELOG.md | 3 ++- Directory.Build.props | 3 ++- appveyor.yml | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) rename .publish-nuget-package.cmd => .rebuild-nuget-package.cmd (79%) diff --git a/.publish-nuget-package.cmd b/.rebuild-nuget-package.cmd similarity index 79% rename from .publish-nuget-package.cmd rename to .rebuild-nuget-package.cmd index 3ee9d3e..910da5f 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 7255347..e76c9c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ # Changelog -## v2.2.0 - 2019.11.12 +## v2.2.x - 2019.11.13 - Add `TimeBasedColumnFamilyConnection` to support `TimeUUID` clustering keys. - Use monotonic timestamp from [SkbKontur.Cassandra.TimeGuid](https://github.com/skbkontur/cassandra-time-guid) package. +- Use [SourceLink](https://github.com/dotnet/sourcelink) to help ReSharper decompiler show actual code. ## v2.1.7 - 2019.10.11 - Target .NET Standard 2.0 (PR [#8](https://github.com/skbkontur/cassandra-thrift-client/pull/8)). diff --git a/Directory.Build.props b/Directory.Build.props index bb41228..e4238cf 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,16 +4,17 @@ full true - true + true $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + diff --git a/appveyor.yml b/appveyor.yml index f94c13b..56e897d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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"