mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Use feed with Microsoft Wix toolset (#21651)
This commit is contained in:
@@ -38,6 +38,7 @@ pr:
|
||||
- test/packaging/windows/*
|
||||
- tools/ci.psm1
|
||||
- tools/packaging/*
|
||||
- tools/wix/*
|
||||
|
||||
variables:
|
||||
- name: GIT_CONFIG_PARAMETERS
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Keep version in sync with wix.psm1 line 18 -->
|
||||
<PackageReference Include="WiX" Version="3.14.1" />
|
||||
<PackageReference Include="Microsoft.Signed.Wix" Version="3.14.1-8722.20240403.1" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
|
||||
</packageSources>
|
||||
<disabledPackageSources>
|
||||
<clear />
|
||||
</disabledPackageSources>
|
||||
</configuration>
|
||||
+2
-2
@@ -14,9 +14,9 @@ function Install-Wix
|
||||
Remove-Item $targetRoot -Recurse -Force
|
||||
}
|
||||
$binPath = Join-Path -Path $targetRoot -ChildPath 'bin'
|
||||
Register-PSRepository -Name NuGetGallery -SourceLocation https://api.nuget.org/v3/index.json
|
||||
Register-PSRepository -Name 'dotnet-eng' -SourceLocation "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json"
|
||||
# keep version in sync with Microsoft.PowerShell.Packaging.csproj
|
||||
Save-Module -name wix -RequiredVersion 3.14.1 -path "$binPath/"
|
||||
Save-Module -name Microsoft.Signed.Wix -RequiredVersion '3.14.1-8722.20240403.1' -path "$binPath/"
|
||||
$docExpandPath = Join-Path -Path $binPath -ChildPath 'doc'
|
||||
$sdkExpandPath = Join-Path -Path $binPath -ChildPath 'sdk'
|
||||
$docTargetPath = Join-Path -Path $targetRoot -ChildPath 'doc'
|
||||
|
||||
Reference in New Issue
Block a user