META-INF.jreleaser.templates.native-package.winget.installer.yaml.tpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jreleaser-templates Show documentation
Show all versions of jreleaser-templates Show documentation
JReleaser packager templates
The newest version!
# {{jreleaserCreationStamp}}
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.4.0.schema.json
PackageIdentifier: {{wingetPackageIdentifier}}
PackageVersion: {{wingetPackageVersion}}
MinimumOSVersion: {{wingetMinimumOsVersion}}
InstallerType: {{wingetInstallerType}}
Scope: {{wingetScope}}
InstallModes:
{{#wingetInstallModes}}
- {{.}}
{{/wingetInstallModes}}
UpgradeBehavior: {{wingetUpgradeBehavior}}
Commands:
- {{distributionExecutableName}}
ReleaseDate: {{wingetReleaseDate}}
Installers:
- Architecture: {{wingetInstallerArchitecture}}
InstallerUrl: {{distributionUrl}}
InstallerSha256: {{distributionChecksumSha256}}
ProductCode: '{{wingetProductCode}}'
{{#wingetHasDependencies}}
Dependencies:
{{#wingetHasWindowsFeatures}}
WindowsFeatures:
{{#wingetWindowsFeatures}}- {{.}}{{/wingetWindowsFeatures}}
{{/wingetHasWindowsFeatures}}
{{#wingetHasWindowsLibraries}}
WindowsLibraries:
{{#wingetWindowsLibraries}}- {{.}}{{/wingetWindowsLibraries}}
{{/wingetHasWindowsLibraries}}
{{#wingetHasExternalDependencies}}
ExternalDependencies:
{{#wingetExternalDependencies}}- {{.}}{{/wingetExternalDependencies}}
{{/wingetHasExternalDependencies}}
{{#wingetHasPackageDependencies}}
PackageDependencies:
{{#wingetPackageDependencies}}
- PackageIdentifier: {{packageIdentifier}}
{{#minimumVersion}}MinimumVersion: {{.}}{{/minimumVersion}}
{{/wingetPackageDependencies}}
{{/wingetHasPackageDependencies}}
{{/wingetHasDependencies}}
ManifestType: installer
ManifestVersion: 1.4.0