From e1be6b95b6c0599ebf20a9a25a918b549a05a216 Mon Sep 17 00:00:00 2001 From: Maxime Mangel Date: Thu, 7 Nov 2019 11:13:43 +0100 Subject: [PATCH] Release version 2.0.0-beta-001 --- build.fsx | 20 +++++++++++++------- paket.lock | 2 +- src/Thoth.Fetch.fsproj | 2 +- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/build.fsx b/build.fsx index c981c6e..93202d9 100644 --- a/build.fsx +++ b/build.fsx @@ -178,16 +178,22 @@ let pushNuget (newVersion: string) (projFile: string) = Common = { p.Common with DotNetCliPath = "dotnet" } } ) projFile - let files = + let file = Directory.GetFiles(projDir "bin" "Release", "*.nupkg") |> Array.find (fun nupkg -> nupkg.Contains(newVersion)) - |> fun x -> [x] - Paket.pushFiles (fun o -> - { o with ApiKey = nugetKey - PublishUrl = "https://www.nuget.org/api/v2/package" - WorkingDir = __SOURCE_DIRECTORY__ }) - files + run + "dotnet" + root + [ + "paket" + "push" + "--url" + "https://www.nuget.org/api/v2/package" + "--api-key" + nugetKey + file + ] Target.create "Publish" (fun _ -> let version = getLastVersion() diff --git a/paket.lock b/paket.lock index 8f5d2e9..0020ff7 100644 --- a/paket.lock +++ b/paket.lock @@ -194,7 +194,7 @@ NUGET System.Security.AccessControl (>= 4.6) System.Security.Principal.Windows (>= 4.6) Mono.Posix.NETStandard (1.0) - MSBuild.StructuredLogger (2.0.110) + MSBuild.StructuredLogger (2.0.152) Microsoft.Build (>= 15.8.166) Microsoft.Build.Framework (>= 15.8.166) Microsoft.Build.Tasks.Core (>= 15.8.166) diff --git a/src/Thoth.Fetch.fsproj b/src/Thoth.Fetch.fsproj index 10e6fd2..0cbfdfd 100644 --- a/src/Thoth.Fetch.fsproj +++ b/src/Thoth.Fetch.fsproj @@ -7,7 +7,7 @@ https://github.com/thoth-org/Thoth.Fetch fable;fsharp;fetch Maxime Mangel - 2.0.0 + 2.0.0-beta-001 netstandard2.0