Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build system] fix NuGet package dependency version overrides #3580

Merged
merged 1 commit into from
Sep 7, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)
Expand Down Expand Up @@ -380,7 +371,7 @@ Target "CreateMntrNuget" (fun _ ->
Project = project
Configuration = configuration
AdditionalArgs = ["--include-symbols"]
VersionSuffix = overrideVersionSuffix project
VersionSuffix = versionSuffix
OutputPath = outputNuGet } )
)

Expand Down