Skip to content

Commit bd33914

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Scripts/post_build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ function Pack-Squirrel-Installer ($path, $version, $output) {
7171
Write-Host "Packing: $spec"
7272
Write-Host "Input path: $input"
7373
# 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?
74+
New-Alias Nuget $env:USERPROFILE\.nuget\packages\NuGet.CommandLine\5.10.0\tools\NuGet.exe -Force
75+
# dotnet pack is not used because ran into issues, need to test installation and starting up if to use it.
7676
nuget pack $spec -Version $version -BasePath $input -OutputDirectory $output -Properties Configuration=Release
7777

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

0 commit comments

Comments
 (0)