drawio-export/build/package/msi/templates/choco/pkg.nuspec
Алексей Бадяев 8d18d7291e
All checks were successful
drawio-export/pipeline/head This commit looks good
Автоматическая сборка пакетов Debian (#4)
This PR closes #2

Reviewed-on: #4
2023-04-12 22:37:54 +07:00

39 lines
1.4 KiB
XML

<?xml version="1.0"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata>
<id>{{.Choco.ID}}</id>
<title>{{.Choco.Title}}</title>
<version>{{.Version.MSI}}</version>
<authors>{{.Choco.Authors}}</authors>
<owners>{{.Choco.Owners}}</owners>
<description>{{.Choco.Description}}</description>
{{if gt (.Choco.ProjectURL | len) 0}}
<projectUrl>{{.Choco.ProjectURL}}</projectUrl>
{{end}}
{{if gt (.Choco.Tags | len) 0}}
<tags>{{.Choco.Tags}}</tags>
{{end}}
{{if gt (.Choco.LicenseURL | len) 0}}
<licenseUrl>{{.Choco.LicenseURL}}</licenseUrl>
{{end}}
{{if gt (.Choco.IconURL | len) 0}}
<iconUrl>{{.Choco.IconURL}}</iconUrl>
{{end}}
{{if gt (.Choco.ChangeLog | len) 0}}
<releaseNotes>{{.Choco.ChangeLog}}</releaseNotes>
{{end}}
{{if .Choco.RequireLicense}}
<requireLicenseAcceptance>true</requireLicenseAcceptance>
{{else}}
<requireLicenseAcceptance>false</requireLicenseAcceptance>
{{end}}
</metadata>
<files>
<file src="{{.Choco.BuildDir}}\chocolateyInstall.ps1" target="tools" />
<file src="{{.Choco.BuildDir}}\chocolateyUninstall.ps1" target="tools" />
<file src="{{.Choco.BuildDir}}\{{.Choco.MsiFile}}" target="tools" />
<file src="{{.Choco.BuildDir}}\LICENSE.txt" target="tools" />
<file src="{{.Choco.BuildDir}}\VERIFICATION.txt" target="tools" />
</files>
</package>