From 7e98850104f55865c714b19b788e9fefbaeec0f3 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Thu, 20 Jul 2017 12:47:40 -0700 Subject: [PATCH 1/3] Update some nuget packages --- Directory.Build.props | 4 ++-- LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj | 4 ++-- LibGit2Sharp/LibGit2Sharp.csproj | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 52a6dde99..0b47885d2 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,10 +3,10 @@ $(MSBuildThisFileDirectory)bin\$(MSBuildProjectName)\$(Configuration)\ $(MSBuildThisFileDirectory)obj\$(MSBuildProjectName)\ - 0.4.9 + 0.4.11 - + diff --git a/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj b/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj index b84f5399b..4d8d204de 100644 --- a/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj +++ b/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj @@ -18,9 +18,9 @@ - + - + diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj index f3fb18896..cf3d667c6 100644 --- a/LibGit2Sharp/LibGit2Sharp.csproj +++ b/LibGit2Sharp/LibGit2Sharp.csproj @@ -32,8 +32,8 @@ - - + + From a83a28c1d43928f827d1890bb0f85eafc42afb48 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Wed, 19 Jul 2017 17:08:59 -0700 Subject: [PATCH 2/3] Change version number to 0.25-preview Our new version numbering system is quite clever and tries to advance the teeny version number automagically. Instead of versioning prereleases as `0.25.x` where `x` is monotonically increasing, version our prereleases as `0.25-preview`. This is roughly what our previous strategy looked like. --- version.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.json b/version.json index c731f2ab6..fe5217a4a 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.25", + "version": "0.25.0-preview.{height}", "publicReleaseRefSpec": [ "^refs/heads/master$", // we release out of master "^refs/heads/v\\d+(?:\\.\\d+)?$" // we also release out of vNN branches From d46136a74845c5af1bf73e2b6c0d27d5478557d5 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Thu, 20 Jul 2017 13:03:26 -0700 Subject: [PATCH 3/3] version number test: expand preview characters --- LibGit2Sharp.Tests/GlobalSettingsFixture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibGit2Sharp.Tests/GlobalSettingsFixture.cs b/LibGit2Sharp.Tests/GlobalSettingsFixture.cs index 8d93373de..365bc1a3e 100644 --- a/LibGit2Sharp.Tests/GlobalSettingsFixture.cs +++ b/LibGit2Sharp.Tests/GlobalSettingsFixture.cs @@ -30,7 +30,7 @@ public void CanRetrieveValidVersionString() // git2hash: '06d772d' LibGit2 library hash. // arch: 'x86' or 'x64' LibGit2 target. // git2Features: 'Threads, Ssh' LibGit2 features compiled with. - string regex = @"^(?\d+\.\d+\.\d+(-\w+)?\+(g(?[a-f0-9]{10})\.)?LibGit2-[a-f0-9]{7}) \((?\w+) - (?(?:\w*(?:, )*\w+)*)\)$"; + string regex = @"^(?\d+\.\d+\.\d+(-[\w\-\.]+)?\+(g(?[a-f0-9]{10})\.)?LibGit2-[a-f0-9]{7}) \((?\w+) - (?(?:\w*(?:, )*\w+)*)\)$"; Assert.NotNull(versionInfo);