Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 8eee545

Browse files
committed
Fix incorrect nuget version
We were using the NUGET_VERSION value for all artifactinfo’s when really we should have been using the given artifact’s nuget version.
1 parent 73727d4 commit 8eee545

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
@@ -128,7 +128,7 @@ if (IsRunningOnWindows ()) {
128128
MSCORLIB_PATH = MakeAbsolute (DOTNETDIR.Combine("Framework/v4.0.30319/")).FullPath;
129129
}
130130

131-
var nugetInfos = ARTIFACTS.Select (a => new NuGetInfo { NuSpec = "./" + a.PathPrefix + a.ArtifactId + "/nuget/" + a.NugetId + ".nuspec", Version = NUGET_VERSION, RequireLicenseAcceptance = true }).ToList ();
131+
var nugetInfos = ARTIFACTS.Select (a => new NuGetInfo { NuSpec = "./" + a.PathPrefix + a.ArtifactId + "/nuget/" + a.NugetId + ".nuspec", Version = a.NugetVersion, RequireLicenseAcceptance = true }).ToList ();
132132
nugetInfos.Add (new NuGetInfo { NuSpec = "./support-v4/nuget/Xamarin.Android.Support.v4.nuspec", Version = NUGET_VERSION, RequireLicenseAcceptance = true });
133133

134134
var buildSpec = new BuildSpec {

0 commit comments

Comments
 (0)