File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1111 </Description >
1212 <PackAsTool >true</PackAsTool >
1313 <ToolCommandName >perla</ToolCommandName >
14- <RuntimeIdentifiers >linux-x64;linux-arm64; win-x64;win-arm64 ;osx-x64;osx-arm64;</RuntimeIdentifiers >
14+ <RuntimeIdentifiers >linux-x64;win-x64;osx-x64;osx-arm64;</RuntimeIdentifiers >
1515 </PropertyGroup >
1616 <ItemGroup >
1717 <InternalsVisibleTo Include =" $(AssemblyName).Tests" />
Original file line number Diff line number Diff line change @@ -5,14 +5,7 @@ open System
55open System.IO
66open System.IO .Compression
77
8- let runtimes = [|
9- " linux-x64"
10- " linux-arm64"
11- " osx-x64"
12- " osx-arm64"
13- " win-x64"
14- " win-arm64"
15- |]
8+ let runtimes = [| " linux-x64" ; " osx-x64" ; " osx-arm64" ; " win-x64" |]
169
1710let tools = [ " Perla" ]
1811
@@ -40,7 +33,7 @@ let fsSources =
4033 )
4134
4235let GatherNupkgs () =
43- Glob.createWithRootDir " dist" " ** /*.nupkg" |> Glob.toPaths
36+ Glob.create " ./ dist/*.nupkg" |> Glob.toPaths
4437
4538let outDir = Path.GetFullPath( " ./dist" )
4639
@@ -183,8 +176,14 @@ module Steps =
183176
184177 let pushNugets = Step.create " nuget" {
185178 let! apiKey = NugetApiKey
179+ let! ctx = Step.context
180+ let packages = GatherNupkgs() |> Seq.toArray
181+
182+ Console.info $" Pushing {packages.Length} NuGet packages"
183+ |> ctx.Console.WriteLine
186184
187- for nuget in GatherNupkgs() do
185+ for nuget in packages do
186+ Console.info $" Pushing NuGet package: {nuget}" |> ctx.Console.WriteLine
188187 do ! Operations.nugetPush( nuget, apiKey)
189188 }
190189
You can’t perform that action at this time.
0 commit comments