Skip to content

Commit

Permalink
Add release notes for 4.6.0-alpha-005.
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Jan 14, 2022
1 parent 4ba6b24 commit 7ee391a
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 21 deletions.
5 changes: 5 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#### 4.6.0-alpha-005

* Fix Idempotency problem when destructing a record inside a lambda argument. [#1922](https://github.com/fsprojects/fantomas/issues/1922)
* Update FCS to 41.0.0-preview.21472.3 [#1927](https://github.com/fsprojects/fantomas/pull/1927)

#### 4.6.0-alpha-004

* Initial Fantomas.Client release.
Expand Down
38 changes: 22 additions & 16 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,25 +365,31 @@ Target.create "TestExternalProjects" (fun _ -> testExternalProjects externalProj
Target.create "TestExternalProjectsFailing" (fun _ -> testExternalProjects externalProjectsToTestFailing)

// Workaround for https://github.com/fsharp/FAKE/issues/2242
let pushPackage additionalArguments =
Directory.EnumerateFiles("bin", "*.nupkg", SearchOption.TopDirectoryOnly)
|> Seq.iter
(fun nupkg ->
let args =
[ yield "push"
yield! additionalArguments
yield nupkg ]
let pushPackage nupkg =
let args = [ yield "push"; yield nupkg ]

CreateProcess.fromRawCommand "dotnet" ("paket" :: args)
|> CreateProcess.disableTraceCommand
|> CreateProcess.redirectOutput
|> CreateProcess.withOutputEventsNotNull Trace.trace Trace.traceError
|> CreateProcess.ensureExitCode
|> Proc.run
|> ignore

CreateProcess.fromRawCommand "dotnet" ("paket" :: args)
|> CreateProcess.disableTraceCommand
|> CreateProcess.redirectOutput
|> CreateProcess.withOutputEventsNotNull Trace.trace Trace.traceError
|> CreateProcess.ensureExitCode
|> Proc.run
|> ignore)

Target.create
"Push"
(fun _ ->
Directory.EnumerateFiles("bin", "*.nupkg", SearchOption.TopDirectoryOnly)
|> Seq.filter (fun nupkg -> not (nupkg.Contains("Fantomas.Client")))
|> Seq.iter pushPackage)

Target.create "Push" (fun _ -> pushPackage [])
Target.create
"PushClient"
(fun _ ->
Directory.EnumerateFiles("bin", "Fantomas.Client.*.nupkg", SearchOption.TopDirectoryOnly)
|> Seq.tryExactlyOne
|> Option.iter pushPackage)

let git command =
CreateProcess.fromRawCommandLine "git" command
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net5.0</TargetFramework>
<IsPackable>false</IsPackable>
<GenerateProgramFile>false</GenerateProgramFile>
<Version>4.6.0-alpha-004</Version>
<Version>4.6.0-alpha-005</Version>
<NoWarn>FS0988</NoWarn>
<WarningsAsErrors>FS0025</WarningsAsErrors>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Fantomas.CoreGlobalTool/Fantomas.CoreGlobalTool.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<RollForward>Major</RollForward>
<ToolCommandName>fantomas</ToolCommandName>
<PackAsTool>True</PackAsTool>
<Version>4.6.0-alpha-004</Version>
<Version>4.6.0-alpha-005</Version>
<AssemblyName>fantomas-tool</AssemblyName>
<WarningsAsErrors>FS0025</WarningsAsErrors>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
Expand Down
2 changes: 1 addition & 1 deletion src/Fantomas.Extras/Fantomas.Extras.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>4.6.0-alpha-004</Version>
<Version>4.6.0-alpha-005</Version>
<Description>Utility package for Fantomas</Description>
<WarningsAsErrors>FS0025</WarningsAsErrors>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
Expand Down
2 changes: 1 addition & 1 deletion src/Fantomas.Tests/Fantomas.Tests.fsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>4.6.0-alpha-004</Version>
<Version>4.6.0-alpha-005</Version>
<NoWarn>FS0988</NoWarn>
<TargetFramework>net5.0</TargetFramework>
<WarningsAsErrors>FS0025</WarningsAsErrors>
Expand Down
2 changes: 1 addition & 1 deletion src/Fantomas/Fantomas.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>4.6.0-alpha-004</Version>
<Version>4.6.0-alpha-005</Version>
<Description>Source code formatter for F#</Description>
<WarningsAsErrors>FS0025</WarningsAsErrors>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
Expand Down

0 comments on commit 7ee391a

Please sign in to comment.