Skip to content

Commit

Permalink
* update appveyor.yml to allow github release publication from 'vX.Y-…
Browse files Browse the repository at this point in the history
…release.Z' tags
  • Loading branch information
Anton92nd committed Nov 21, 2019
1 parent 37bcb1d commit 23805b5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 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
13 changes: 8 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
# Changelog

## v3.2 - 2019.09.16
## v3.2.x - 2019.11.21
- Use [SourceLink](https://github.com/dotnet/sourcelink) to help ReSharper decompiler show actual code.

## v3.2.1 - 2019.09.16
- Support for Mono 6.0

## v3.1 - 2019.02.26
## v3.1.1 - 2019.02.26
- Target .NET Core 2.1 and 2.2 versions.
- `EmitCalli` method with native calling convention is now accessible for clients targeting .NET Core 2.1 or later.
- Switch tests to run on .NET Core 2.0, 2.1 and 2.2.

## v3.0 - 2019.01.14
## v3.0.9 - 2019.01.14
- Remove IL modification related functionality (`MethodBodyParsing` namespace) entirely since it had been broken
after adding .NET Core support.
- Switch tests to run on .NET Core 2.2.

## v2.3 - 2018.09.13
## v2.3.1 - 2018.09.13
- Use [Nerdbank.GitVersioning](https://github.com/AArnott/Nerdbank.GitVersioning) to automate generation of assembly
and nuget package versions.

## v2.2 - 2018.01.01
## v2.2.0 - 2018.01.01
- Support .NET Standard 2.0 (PR [#9](https://github.com/skbkontur/gremit/pull/9)
by [@Amartel1986](https://github.com/Amartel1986)).
- Switch to SDK-style project format and dotnet core build tooling.
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>

<!-- Nerdbank.GitVersioning does not work on Ubuntu+Mono (see https://github.com/AArnott/Nerdbank.GitVersioning/issues/224) -->
<ItemGroup Condition="'$(OS)' != 'Unix'">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19554-01" PrivateAssets="All" />
<PackageReference Include="Nerdbank.GitVersioning" Version="2.3.138" PrivateAssets="All" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ skip_commits:
files:
- '**/*.md'

image: Visual Studio 2017
image: Visual Studio 2019

init:
- cmd: git config --global core.autocrlf false
Expand All @@ -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
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "2.2.100"
"version": "2.2.402"
}
}

0 comments on commit 23805b5

Please sign in to comment.