From d01a4b8ef691152d8c00c7fa932f2e1267b3c55b Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Sat, 25 Aug 2018 11:59:09 -0500 Subject: [PATCH] resolve issue with production beta packages like Cluster.Sharding depending on the wrong version --- build.fsx | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/build.fsx b/build.fsx index 44c456b3cc2..4cf36854224 100644 --- a/build.fsx +++ b/build.fsx @@ -298,15 +298,6 @@ Target "NBench" <| fun _ -> // Nuget targets //-------------------------------------------------------------------------------- -let overrideVersionSuffix (project:string) = - match project with - | p when p.Contains("Akka.Serialization.Wire") -> preReleaseVersionSuffix - | p when p.Contains("Akka.Serialization.Hyperion") -> preReleaseVersionSuffix - | p when p.Contains("Akka.Cluster.Sharding") -> preReleaseVersionSuffix - | p when p.Contains("Akka.DistributedData") -> preReleaseVersionSuffix - | p when p.Contains("Akka.DistributedData.LightningDB") -> preReleaseVersionSuffix - | _ -> versionSuffix - Target "CreateNuget" (fun _ -> let projects = !! "src/**/*.*sproj" -- "src/**/*.Tests*.*sproj" @@ -323,7 +314,7 @@ Target "CreateNuget" (fun _ -> Project = project Configuration = configuration AdditionalArgs = ["--include-symbols"] - VersionSuffix = overrideVersionSuffix project + VersionSuffix = versionSuffix OutputPath = outputNuGet }) projects |> Seq.iter (runSingleProject) @@ -380,7 +371,7 @@ Target "CreateMntrNuget" (fun _ -> Project = project Configuration = configuration AdditionalArgs = ["--include-symbols"] - VersionSuffix = overrideVersionSuffix project + VersionSuffix = versionSuffix OutputPath = outputNuGet } ) )