Skip to content

Commit 7855ea1

Browse files
authored
Merge pull request #3 from Trenly/patch-1
Update to latest manifest schema
2 parents 9030b27 + c78ecfa commit 7855ea1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

check.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ Invoke-NativeCommand git pull upstream master
5050
Invoke-NativeCommand git push
5151
$yamlHeaderInstaller = @'
5252
# Auto-generated by Rust-Winget-Bot (https://github.com/Rust-Winget-Bot)
53-
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.6.0.schema.json
53+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.10.0.schema.json
5454
5555
5656
'@
5757
$yamlHeaderDefaultLocale = @'
5858
# Auto-generated by Rust-Winget-Bot (https://github.com/Rust-Winget-Bot)
59-
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.6.0.schema.json
59+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.10.0.schema.json
6060
6161
6262
'@
6363
$yamlHeaderVersion = @'
6464
# Auto-generated by Rust-Winget-Bot (https://github.com/Rust-Winget-Bot)
65-
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.6.0.schema.json
65+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.10.0.schema.json
6666
6767
6868
'@
@@ -99,7 +99,7 @@ foreach ($toolchain in @("MSVC", "GNU")) {
9999
UpgradeBehavior = "uninstallPrevious";
100100
Installers = @(); # To be filled later
101101
ManifestType = "installer";
102-
ManifestVersion = "1.6.0";
102+
ManifestVersion = "1.10.0";
103103
};
104104
if ($toolchain -eq "MSVC") {
105105
$installers = @(
@@ -177,7 +177,7 @@ foreach ($toolchain in @("MSVC", "GNU")) {
177177
Moniker = "rust-$toolchainLower";
178178
Tags = @($toolchainLower, "rust", "windows");
179179
ManifestType = "defaultLocale";
180-
ManifestVersion = "1.6.0";
180+
ManifestVersion = "1.10.0";
181181
};
182182
$newYamlData = -join($yamlHeaderDefaultLocale, (ConvertTo-YAML $yamlObject));
183183
Set-Content -Path $yamlPath -Value $newYamlData;
@@ -187,7 +187,7 @@ foreach ($toolchain in @("MSVC", "GNU")) {
187187
PackageVersion = $version;
188188
DefaultLocale = "en-US";
189189
ManifestType = "version";
190-
ManifestVersion = "1.6.0";
190+
ManifestVersion = "1.10.0";
191191
};
192192
$newYamlData = -join($yamlHeaderVersion, (ConvertTo-YAML $yamlObject));
193193
Set-Content -Path $yamlPath -Value $newYamlData;

0 commit comments

Comments
 (0)