Skip to content

Commit 2acf458

Browse files
committed
Bump version to 1.4.1
1 parent be79b6c commit 2acf458

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

build.fsx

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ let productProjects =
4646
!! "src/*/*.csproj"
4747

4848
let 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

121122
Target.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
// --------------------------------------------------------------------------------------

docs/articles/release-notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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.

0 commit comments

Comments
 (0)