Skip to content
This repository has been archived by the owner on Jun 17, 2019. It is now read-only.

Commit

Permalink
Fixing package naming
Browse files Browse the repository at this point in the history
  • Loading branch information
StanleyGoldman committed Oct 27, 2018
1 parent ec6d517 commit 0c9891f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Target.create "Package" (fun _ ->

let version =
match String.isNullOrWhiteSpace gitVersion.PreReleaseLabel with
| false -> sprintf "%s-beta-%s%s" gitVersion.MajorMinorPatch gitVersion.PreReleaseLabel gitVersion.BuildMetaDataPadded
| _ -> sprintf "%s-beta" gitVersion.MajorMinorPatch
| false -> sprintf "%s-%s%s" gitVersion.MajorMinorPatch gitVersion.PreReleaseLabel gitVersion.BuildMetaDataPadded
| _ -> sprintf "%s" gitVersion.MajorMinorPatch

NuGet.NuGetPack (fun p -> { p with
Version = version
Expand Down

0 comments on commit 0c9891f

Please sign in to comment.