1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-27 23:36:27 +00:00

chore(choco): remove chocolatey dependency (#5078)

This commit is contained in:
David Knaack 2023-04-12 20:38:33 +02:00 committed by GitHub
parent 5ef90a615f
commit f234847318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -20,9 +20,6 @@
<licenseUrl>https://github.com/starship/starship/blob/master/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes></releaseNotes>
<dependencies>
<dependency id="chocolatey" version="0.9.9" />
</dependencies>
</metadata>
<files>
<file src="tools\**" target="tools" />

View File

@ -26,10 +26,13 @@ $nuspec_file.Save("./starship.install.nuspec")
# Have metapackage depend on starship.install
$nuspec_file.package.metadata.id = "starship"
$deps = $nuspec_file.createelement("dependencies")
$dep = $nuspec_file.createelement("dependency")
$dep.SetAttribute("id", "starship.install")
$dep.SetAttribute("version", "[$versionNumber]")
$nuspec_file.package.metadata.dependencies.AppendChild($dep)
$deps.AppendChild($dep)
$nuspec_file.package.metadata.AppendChild($deps)
$nuspec_file.Save("./starship.nuspec")
$url_x86_64_zip = "https://github.com/starship/starship/releases/download/$version/starship-x86_64-pc-windows-msvc.zip"