Skip to content

Commit

Permalink
fix update task in release pipeline to handle multiple installers (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft authored Jun 26, 2023
1 parent 5ec4ad6 commit 44e0eb8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pipelines/azure-pipelines.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ jobs:
manifestVersion: $[dependencies.Build.outputs['OutputVersionStep.manifestVersion']]
appxBundleFile: $[dependencies.Build.outputs['OutputVersionStep.appxBundleFile']]
vcLibsBundleFile: "Microsoft.VCLibs.x64.14.00.Desktop.appx"
packageUrl: "https://github.com/microsoft/winget-create/releases/download/v$(manifestVersion)/$(appxBundleFile)"
msixPackageUrl: "https://github.com/microsoft/winget-create/releases/download/v$(manifestVersion)/$(appxBundleFile)"
portablePackageUrl: "https://github.com/microsoft/winget-create/releases/download/v$(manifestVersion)/wingetcreate.exe"
steps:
- checkout: none

Expand All @@ -246,5 +247,5 @@ jobs:
# Download, install, and execute update.
iwr https://aka.ms/wingetcreate/latest/msixbundle -OutFile $(appxBundleFile)
Add-AppxPackage $(appxBundleFile)
wingetcreate update Microsoft.WingetCreate -u $(packageUrl) -v $(manifestVersion) -t $(GITHUB_PAT) --submit
wingetcreate update Microsoft.WingetCreate --urls $(msixPackageUrl) '$(portablePackageUrl)|x64' '$(portablePackageUrl)|x86' -v $(manifestVersion) -t $(GITHUB_PAT) --submit
displayName: Update package manifest in the OWC

0 comments on commit 44e0eb8

Please sign in to comment.