Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec40702

Browse files
committed
Use prefix for NuGet releases.
1 parent 77aa0b8 commit ec40702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Task("NuGetPackage")
6363
.Does(() =>
6464
{
6565
if (string.IsNullOrEmpty(versionSuffix) && !string.IsNullOrEmpty(trigger))
66-
versionSuffix = Regex.Match(trigger, @"^v[^\.]+\.[^\.]+\.[^\.]+-(.+)").Groups[1].ToString();
66+
versionSuffix = Regex.Match(trigger, @"^nuget-v[^\.]+\.[^\.]+\.[^\.]+-(.+)").Groups[1].ToString();
6767

6868
foreach (var projectPath in GetFiles("src/**/*.csproj").Select(x => x.FullPath))
6969
DotNetCorePack(projectPath, new DotNetCorePackSettings { Configuration = configuration, OutputDirectory = "release", VersionSuffix = versionSuffix });

0 commit comments

Comments
 (0)