Skip to content

Commit 1a04c0c

Browse files
committed
change to fix major vesion ifor post_build script's nuget commandline
1 parent e14cbb2 commit 1a04c0c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Scripts/post_build.ps1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,8 @@ function Pack-Squirrel-Installer ($path, $version, $output) {
7070

7171
Write-Host "Packing: $spec"
7272
Write-Host "Input path: $input"
73-
# making version static as multiple versions can exist in the nuget folder and in the case a breaking change is introduced.
74-
New-Alias Nuget $env:USERPROFILE\.nuget\packages\NuGet.CommandLine\5.4.0\tools\NuGet.exe -Force
75-
# TODO: can we use dotnet pack here?
73+
New-Alias Nuget $env:USERPROFILE\.nuget\packages\NuGet.CommandLine\5.*\tools\NuGet.exe -Force
74+
# dotnet pack is not used because ran into issues, need to test installation and starting up if to use it.
7675
nuget pack $spec -Version $version -BasePath $input -OutputDirectory $output -Properties Configuration=Release
7776

7877
$nupkg = "$output\FlowLauncher.$version.nupkg"

0 commit comments

Comments
 (0)