Skip to content

Commit 23805b5

Browse files
committed
* update appveyor.yml to allow github release publication from 'vX.Y-release.Z' tags
1 parent 37bcb1d commit 23805b5

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.publish-nuget-package.cmd renamed to .rebuild-nuget-package.cmd

-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,4 @@ dotnet build --force --no-incremental --configuration Release "./%SolutionName%.
1313

1414
dotnet pack --no-build --configuration Release "./%SolutionName%.sln" || exit /b 1
1515

16-
pushd "./%SolutionName%/bin/Release"
17-
dotnet nuget push *.nupkg -s https://nuget.org || exit /b 1
18-
popd
19-
2016
pause

CHANGELOG.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
11
# Changelog
22

3-
## v3.2 - 2019.09.16
3+
## v3.2.x - 2019.11.21
4+
- Use [SourceLink](https://github.com/dotnet/sourcelink) to help ReSharper decompiler show actual code.
5+
6+
## v3.2.1 - 2019.09.16
47
- Support for Mono 6.0
58

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

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

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

20-
## v2.2 - 2018.01.01
23+
## v2.2.0 - 2018.01.01
2124
- Support .NET Standard 2.0 (PR [#9](https://github.com/skbkontur/gremit/pull/9)
2225
by [@Amartel1986](https://github.com/Amartel1986)).
2326
- Switch to SDK-style project format and dotnet core build tooling.

Directory.Build.props

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@
44
<PropertyGroup>
55
<DebugType>full</DebugType>
66
<DebugSymbols>true</DebugSymbols>
7-
<EmbedAllSources>true</EmbedAllSources>
87
</PropertyGroup>
98

109
<!-- include pdbs into nuget package -->
1110
<PropertyGroup>
11+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1212
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
1313
</PropertyGroup>
1414

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

appveyor.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ skip_commits:
44
files:
55
- '**/*.md'
66

7-
image: Visual Studio 2017
7+
image: Visual Studio 2019
88

99
init:
1010
- cmd: git config --global core.autocrlf false
@@ -15,7 +15,7 @@ init:
1515
{
1616
$env:SHOULD_PUBLISH_NUGET_PACKAGE = "true"
1717
Write-Host "Will publish nuget package for $tagName tag" -ForegroundColor "Green"
18-
if ($tagName -match '^v\d+\.\d+-release$') # tag name matches 'vX.Y-release'
18+
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)
1919
{
2020
$env:SHOULD_CREATE_RELEASE = "true"
2121
Write-Host "Will create release for $tagName tag" -ForegroundColor "Green"

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"sdk": {
3-
"version": "2.2.100"
3+
"version": "2.2.402"
44
}
55
}

0 commit comments

Comments
 (0)