@@ -36,20 +36,17 @@ jobs:
3636 Write-Host "SHA256: $hash"
3737
3838 # Update version manifest
39- @"
40- # yaml-language-server: `$schema=https://aka.ms/winget-manifest.version.1.6.0.schema.json
41-
39+ $versionManifest = @"
4240PackageIdentifier : OpenCLICollective.cfl
4341PackageVersion : 0.0.1
4442DefaultLocale : en-US
4543ManifestType : version
4644ManifestVersion : 1.6.0
47- " @ | Set-Content packaging/winget/OpenCLICollective.cfl.yaml
45+ " @
46+ Set-Content packaging/winget/OpenCLICollective.cfl.yaml $versionManifest
4847
4948 # Update locale manifest
50- @"
51- # yaml-language-server: `$schema=https://aka.ms/winget-manifest.defaultLocale.1.6.0.schema.json
52-
49+ $localeManifest = @"
5350PackageIdentifier : OpenCLICollective.cfl
5451PackageVersion : 0.0.1
5552PackageLocale : en-US
@@ -62,13 +59,12 @@ LicenseUrl: https://github.com/open-cli-collective/confluence-cli/blob/main/LICE
6259ShortDescription : Command-line interface for Atlassian Confluence Cloud
6360ManifestType : defaultLocale
6461ManifestVersion : 1.6.0
65- " @ | Set-Content packaging/winget/OpenCLICollective.cfl.locale.en-US.yaml
62+ " @
63+ Set-Content packaging/winget/OpenCLICollective.cfl.locale.en-US.yaml $localeManifest
6664
6765 # Create installer manifest with local file URL
6866 $localUrl = " file:///$($pwd.Path -replace '\\','/')/cfl_0.0.1_windows_amd64.zip"
69- @"
70- # yaml-language-server: `$schema=https://aka.ms/winget-manifest.installer.1.6.0.schema.json
71-
67+ $installerManifest = @"
7268PackageIdentifier : OpenCLICollective.cfl
7369PackageVersion : 0.0.1
7470InstallerType : zip
@@ -82,7 +78,8 @@ Installers:
8278 InstallerSha256 : $hash
8379ManifestType : installer
8480ManifestVersion : 1.6.0
85- " @ | Set-Content packaging/winget/OpenCLICollective.cfl.installer.yaml
81+ " @
82+ Set-Content packaging/winget/OpenCLICollective.cfl.installer.yaml $installerManifest
8683
8784 Write-Host " Updated manifests for testing:"
8885 Get-Content packaging/winget/OpenCLICollective.cfl.installer.yaml
0 commit comments