File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 7
7
* Moving on from net46 targeting
8
8
* Fixes for anonymous record generation
9
9
* Dependency updates
10
- * Checking for constructors in FSharpMemberOrFunctionOrValue..ctor(cenv, minfo)
10
+ * Checking for constructors in FSharpMemberOrFunctionOrValue
11
11
* Fix unused opens false positive for record fields
12
12
13
13
#### 28.0.0
Original file line number Diff line number Diff line change @@ -103,8 +103,19 @@ Target "Test" (fun _ ->
103
103
runDotnet __ SOURCE_ DIRECTORY__ ( sprintf " test FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fsproj --no-restore --no-build -v n -c Release --test-adapter-path . --logger \" nunit;LogFilePath=%s \" " logFilePath)
104
104
)
105
105
106
+ // escape a string's content so that it can be passed on the command line
107
+ let escapeString ( s : string ) =
108
+ let replaced = s.Replace( " \" " , " \\\" " )
109
+ sprintf " \" %s \" " replaced
110
+
106
111
Target " NuGet" ( fun _ ->
107
- runDotnet __ SOURCE_ DIRECTORY__ " pack FSharp.Compiler.Service.sln -v n -c Release"
112
+ let props =
113
+ [ " PackageVersion" , ( string release.NugetVersion)
114
+ " PackageReleaseNotes" , release.Notes |> String.concat " \n " ]
115
+ |> Seq.map ( fun ( prop , value ) -> sprintf " -p:%s =%s " prop ( escapeString value))
116
+ |> String.concat " "
117
+
118
+ runDotnet __ SOURCE_ DIRECTORY__ ( sprintf " pack FSharp.Compiler.Service.sln -v n -c Release %s " props)
108
119
)
109
120
110
121
Target " GenerateDocsEn" ( fun _ ->
You can’t perform that action at this time.
0 commit comments