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/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);
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 @@
-
-
+
+
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