Add 'embeddesha' and update scripts tree sha to today.
MODIFY
azure-pipelines/signing.yml
azure-pipelines/signing.yml
@@ -137,7 +137,7 @@ jobs:
inputs:
pwsh: true
filePath: install-vcpkg/mint-gitregistry-bundle.ps1
- arguments: '-DestinationTarballName "$(Build.BinariesDirectory)\vcpkg-gitregistry-bundle.tar.gz" -TempPath gitregistry-temp install-vcpkg/vcpkg-bundle.json "$(Build.BinariesDirectory)\vcpkg.cmd" "$(Build.BinariesDirectory)\vcpkg.ps1"'
+ arguments: '-DestinationTarballName "$(Build.BinariesDirectory)\vcpkg-gitregistry-bundle.tar.gz" -TempPath gitregistry-temp "$(Build.BinariesDirectory)\vcpkg.cmd" "$(Build.BinariesDirectory)\vcpkg.ps1"'
- script: npm pack
displayName: Create vcpkg-ce Pack
workingDirectory: $(Build.BinariesDirectory)/vcpkg-ce

MODIFY
install-vcpkg/mint-gitregistry-bundle.ps1
install-vcpkg/mint-gitregistry-bundle.ps1
@@ -71,6 +71,16 @@ try {
cp $AdditionalFiles[$idx] "out/$($AdditionalFilesNames[$idx])"
}
+ $bundleConfig = @{
+ 'readonly' = $False;
+ 'usegitregistry' = $True;
+ 'embeddedsha' = $sha
+ }
+
+ Set-Content -Path "out/vcpkg-bundle.json" `
+ -Value (ConvertTo-Json -InputObject $bundleConfig) `
+ -Encoding Ascii
+
tar czf $DestinationTarballName -C out *
}
finally {

DELETE
install-vcpkg/vcpkg-bundle.json
-{
- "readonly": false,
- "usegitregistry": true
-}

MODIFY
install-vcpkg/vcpkg-scripts-sha.txt
install-vcpkg/vcpkg-scripts-sha.txt
-a4b5cde7f504c1bbbbc455f4a6ee60efd9034772
+c1c6eb92e91b99ca906016499d17088a32137824

Add 'embeddesha' and update scripts tree sha to today.