Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
Update azure-pipelines-package-alpha.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew4850 committed Apr 21, 2022
1 parent 0b4b2bf commit 1e6a41f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines-package-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ steps:
$doc = [System.Xml.Linq.XDocument]::Load(
"$(appxPackageDir)/Quarrel.appinstaller")
$xName = "{http://schemas.microsoft.com/appx/appinstaller/2017/2}MainBundle"
$bundle = $doc.Root.Element($xName).Attribute("Uri").Value.Replace("${siteUri}", "");
$bundle = $doc.Root.Element($xName).Attribute("Uri").Value.Replace("https://quarrelfordiscord.github.io/QuarrelInstaller/", "");
Copy-Item $bundle -Destination ($(build.artifactStagingDirectory) + $bundle.Replace("/", "_"));
$doc.Root.Element($xName).Attribute("Uri").Value =
"https://github.com/UWPCommunity/Quarrel/releases/download/alpha-v$(Build.BuildNumber)/Quarrel.appinstaller" +
Expand All @@ -99,7 +99,7 @@ steps:
$xName = "{http://schemas.microsoft.com/appx/appinstaller/2017/2}Dependencies"
foreach ($element in $doc.Root.Elements($xName)){
$dep = $element.Attribute("Uri").Value.Replace("${siteUri}", "");
$dep = $element.Attribute("Uri").Value.Replace("https://quarrelfordiscord.github.io/QuarrelInstaller/", "");
Copy-Item $dep -Destination ($(build.artifactStagingDirectory) + $dep.Replace("/", "_"));
$element.Attribute("Uri").Value =
"https://github.com/UWPCommunity/Quarrel/releases/download/alpha-v$(Build.BuildNumber)/Quarrel.appinstaller" +
Expand Down

0 comments on commit 1e6a41f

Please sign in to comment.