mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
change to fix major vesion ifor post_build script's nuget commandline
This commit is contained in:
parent
e14cbb2ef9
commit
bd33914abc
1 changed files with 2 additions and 2 deletions
|
|
@ -71,8 +71,8 @@ function Pack-Squirrel-Installer ($path, $version, $output) {
|
|||
Write-Host "Packing: $spec"
|
||||
Write-Host "Input path: $input"
|
||||
# making version static as multiple versions can exist in the nuget folder and in the case a breaking change is introduced.
|
||||
New-Alias Nuget $env:USERPROFILE\.nuget\packages\NuGet.CommandLine\5.4.0\tools\NuGet.exe -Force
|
||||
# TODO: can we use dotnet pack here?
|
||||
New-Alias Nuget $env:USERPROFILE\.nuget\packages\NuGet.CommandLine\5.10.0\tools\NuGet.exe -Force
|
||||
# dotnet pack is not used because ran into issues, need to test installation and starting up if to use it.
|
||||
nuget pack $spec -Version $version -BasePath $input -OutputDirectory $output -Properties Configuration=Release
|
||||
|
||||
$nupkg = "$output\FlowLauncher.$version.nupkg"
|
||||
|
|
|
|||
Loading…
Reference in a new issue