@@ -75,17 +75,30 @@ Target.create "Pack" (fun _ ->
7575 let setParams ( p : DotNet.PackOptions ) = { p with OutputPath = Some outputPath; Configuration = config}
7676 DotNet.pack ( fun p -> {
7777 setParams p with
78- MSBuildParams= {
78+ MSBuildParams = {
7979 MSBuild.CliArguments.Create() with
8080 Properties = [
8181 " PackageVersion" , release.NugetVersion
8282 " ReleaseNotes" , releaseNotes
8383 ]
8484 }
8585 }) " src/FSharp.TypeProviders.SDK.fsproj"
86+ DotNet.pack setParams " src/FSharp.TypeProvider.SDK.fsproj"
8687 DotNet.pack setParams " examples/BasicProvider/BasicProvider.fsproj"
8788 DotNet.pack setParams " examples/StressProvider/StressProvider.fsproj"
8889
90+
91+ DotNet.pack ( fun p -> {
92+ setParams p with
93+ MSBuildParams = {
94+ MSBuild.CliArguments.Create() with
95+ Properties = [
96+ " PackageVersion" , release.NugetVersion
97+ " ReleaseNotes" , releaseNotes
98+ ]
99+ }
100+ }) " templates/FSharp.TypeProviders.Templates.nuspec"
101+
89102 // TODO - get the bottom of why FAKE keeps creating a new .nuspec no matter the version
90103 // NuGet.NuGet.NuGetPack (fun p -> {
91104 // p with
@@ -125,7 +138,12 @@ Target.create "TestTemplatesNuGet" (fun _ ->
125138
126139Target.create " All" ignore
127140
128- " Clean" ==> " Pack"
129- " Build" ==> " Examples" ==> " RunTests" ==> " Pack" ==> " TestTemplatesNuGet" ==> " All"
141+ " Clean"
142+ ==> " Build"
143+ ==> " Examples"
144+ ==> " RunTests"
145+ ==> " Pack"
146+ ==> " TestTemplatesNuGet"
147+ ==> " All"
130148
131149Target.runOrDefault " All"
0 commit comments