volta icon indicating copy to clipboard operation
volta copied to clipboard

publish in chocolatey

Open dherman opened this issue 7 years ago • 5 comments

We should publish Windows releases with chocolatey.

dherman avatar Jan 14 '18 06:01 dherman

Please, that'd enable our company to use it.

leonheess avatar Jan 18 '22 10:01 leonheess

Published: https://community.chocolatey.org/packages/volta

ThatGuyKalvin avatar Jun 16 '22 10:06 ThatGuyKalvin

That's awesome, thank you @ThatGuyKalvin! Is there an easy path forward for updating the link when there's a new version published?

charlespierce avatar Jun 23 '22 23:06 charlespierce

No worries @charlespierce! I can add you as a maintainer on the chocolatey package. Currently I have to go through a long approval process per version release but I believe you can skip it as you're an official volta maintainer. What's your chocolatey username?

Probably needs automated via a pipeline but it's pretty simple. https://github.com/ThatGuyKalvin/chocolatey-packages/tree/main/volta Update version number in volta.nuspec Update download link and checksum in chocolateyinstall.ps1 Open powershell/cmd from the root package folder. choco pack // This creates a .nupkg e.g. volta1.0.8.nupkg

choco install volta -dv -s . -f // This forces a reinstall of volta using the local chocolatey package. Use this to test installer before publishing.

choco push volta1.0.8.nupkg // Publish the package to chocolatey. May require review (3-5 business days supposedly...)

Reference: https://docs.chocolatey.org/en-us/create/create-packages

Just to note I have updated the package to 1.0.8 - it's been pending review since 16th June. https://community.chocolatey.org/packages/volta/1.0.8

To install versions currently in review use choco install volta --version=1.0.8

ThatGuyKalvin avatar Jun 24 '22 08:06 ThatGuyKalvin

Thank you for looking into this, @charlespierce. This should probably also be mentioned in the docs 🤔

leonheess avatar Jun 24 '22 08:06 leonheess

Just checking in @charlespierce - do you have a chocolatey account that I can add as a maintainer?

ThatGuyKalvin avatar Nov 15 '22 18:11 ThatGuyKalvin

@ThatGuyKalvin I don't currently have a chocolatey account, no. Is there a portal I can go through to create one?

charlespierce avatar Dec 03 '22 21:12 charlespierce

@charlespierce yes, you can sign up here https://community.chocolatey.org/account/Register

ThatGuyKalvin avatar Apr 26 '23 11:04 ThatGuyKalvin