Skip to content

Commit

Permalink
chore: use latest wingetcreate self-contained binary
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer committed Jun 22, 2021
1 parent 926f0db commit 1b0ceaf
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/winget/build.ps1
Expand Up @@ -39,11 +39,6 @@ if (-not $Token) {
return
}
# Get the latest wingetcreate exe
# Replace with the following once https://github.com/microsoft/winget-create/issues/38 is resolved:
# Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
Invoke-WebRequest 'https://github.com/JanDeDobbeleer/winget-create/releases/latest/download/wingetcreate.zip' -OutFile wingetcreate.zip
Expand-Archive -LiteralPath wingetcreate.zip -DestinationPath wingetcreate
$wingetcreate = Resolve-Path -Path wingetcreate
$env:Path += ";$($wingetcreate.Path)"
Invoke-WebRequest 'https://aka.ms/wingetcreate/latest/self-contained' -OutFile wingetcreate.exe
# Create the PR
WingetCreateCLI.exe submit --token $Token $Version
./wingetcreate.exe submit --token $Token $Version

0 comments on commit 1b0ceaf

Please sign in to comment.