Skip to content

Commit

Permalink
Bump version to 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
janno-p committed Dec 13, 2020
1 parent be79b6c commit 2acf458
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#### 1.4.1 - 11.12.2020
#### 1.4.1 - 13.12.2020

* Review UTF8 encoding usages to prevent BOM in outgoing messages.

Expand Down
20 changes: 14 additions & 6 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ let productProjects =
!! "src/*/*.csproj"

let tempDocsDir = __SOURCE_DIRECTORY__ </> "temp" </> "gh-pages"
let binDir = __SOURCE_DIRECTORY__ </> "bin"

// --------------------------------------------------------------------------------------
// Remove files generated by previous build
Expand Down Expand Up @@ -111,7 +112,7 @@ Target.create "NuGet" (fun _ ->
(fun p ->
{ p with
Common = { p.Common with CustomParams = Some(sprintf "/p:Version=%s" release.NugetVersion) }
OutputPath = Some(__SOURCE_DIRECTORY__ </> "bin")
OutputPath = Some(binDir)
Configuration = DotNet.BuildConfiguration.Release
VersionSuffix = release.SemVer.PreRelease |> Option.map (fun v -> v.Origin) })
proj
Expand All @@ -120,11 +121,18 @@ Target.create "NuGet" (fun _ ->

Target.create "PublishNuget" (fun _ ->
let apiKey = Environment.environVarOrFail "NUGET_KEY"
Paket.push
(fun p ->
{ p with
WorkingDir = "bin"
ApiKey = apiKey })
!! (binDir </> "*.nupkg")
|> Seq.iter
(DotNet.nugetPush
(fun p ->
p.WithPushParams(
{ p.PushParams with
ApiKey = Some(apiKey)
Source = Some("https://api.nuget.org/v3/index.json")
}
)
)
)
)

// --------------------------------------------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions docs/articles/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#### 1.4.1 - 13.12.2020

* Review UTF8 encoding usages to prevent BOM in outgoing messages.

#### 1.4.0 - 18.11.2020

* Add error logging for unexpected errors during request processing.
Expand Down

0 comments on commit 2acf458

Please sign in to comment.