Skip to content

Commit

Permalink
* use SourceLink to help resharper decompiler show actual code
Browse files Browse the repository at this point in the history
* update appveyor.yml to allow github release publication from 'vX.Y-release.Z' tags
  • Loading branch information
AndrewKostousov committed Nov 13, 2019
1 parent 22352f5 commit 886fc59
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 0 additions & 4 deletions .publish-nuget-package.cmd → .rebuild-nuget-package.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)).
Expand Down
3 changes: 2 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@
<PropertyGroup>
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
<EmbedAllSources>true</EmbedAllSources>
</PropertyGroup>

<!-- include pdbs into nuget package -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2019.1.3" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19554-01" PrivateAssets="All" />
<PackageReference Include="Nerdbank.GitVersioning" Version="3.0.26" PrivateAssets="All" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 886fc59

Please sign in to comment.