File tree Expand file tree Collapse file tree 3 files changed +19
-7
lines changed
Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 1- #### 1.4.1 - 11 .12.2020
1+ #### 1.4.1 - 13 .12.2020
22
33* Review UTF8 encoding usages to prevent BOM in outgoing messages.
44
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ let productProjects =
4646 !! " src/*/*.csproj"
4747
4848let tempDocsDir = __ SOURCE_ DIRECTORY__ </> " temp" </> " gh-pages"
49+ let binDir = __ SOURCE_ DIRECTORY__ </> " bin"
4950
5051// --------------------------------------------------------------------------------------
5152// Remove files generated by previous build
@@ -111,7 +112,7 @@ Target.create "NuGet" (fun _ ->
111112 ( fun p ->
112113 { p with
113114 Common = { p.Common with CustomParams = Some( sprintf " /p:Version=%s " release.NugetVersion) }
114- OutputPath = Some(__ SOURCE _ DIRECTORY __ </> " bin " )
115+ OutputPath = Some( binDir )
115116 Configuration = DotNet.BuildConfiguration.Release
116117 VersionSuffix = release.SemVer.PreRelease |> Option.map ( fun v -> v.Origin) })
117118 proj
@@ -120,11 +121,18 @@ Target.create "NuGet" (fun _ ->
120121
121122Target.create " PublishNuget" ( fun _ ->
122123 let apiKey = Environment.environVarOrFail " NUGET_KEY"
123- Paket.push
124- ( fun p ->
125- { p with
126- WorkingDir = " bin"
127- ApiKey = apiKey })
124+ !! ( binDir </> " *.nupkg" )
125+ |> Seq.iter
126+ ( DotNet.nugetPush
127+ ( fun p ->
128+ p.WithPushParams(
129+ { p.PushParams with
130+ ApiKey = Some( apiKey)
131+ Source = Some( " https://api.nuget.org/v3/index.json" )
132+ }
133+ )
134+ )
135+ )
128136)
129137
130138// --------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 1+ #### 1.4.1 - 13.12.2020
2+
3+ * Review UTF8 encoding usages to prevent BOM in outgoing messages.
4+
15#### 1.4.0 - 18.11.2020
26
37* Add error logging for unexpected errors during request processing.
You can’t perform that action at this time.
0 commit comments