the insane way to create and manage your chocolatey package
Please notice this package is still under development
you can install this module from PowerShell Gallery
Install-Module github2choco
This module requires PSGitHub.
you can set it up with the following command:
❯ Install-Module PSGitHub
❯ Import-Module PSGitHub
❯ Set-GitHubToken
all you need to do is just:
❯ New-GTCSetting
❯ Update-GTCPackage dnspy
or simply
❯ Update-AllGTCPackage
❯ choco pack
❯ choco push
creating a package is super easy:
❯ New-GTCPackage -githubRepo 0xd4d/dnSpy -packageType zip -Regex32Bit dnSpy.zip
then make sure the template is okay (version and release note should be left blank in the nuspec file)
I personally will leave the install script nearly empty and deletes all the other files
see all my templates here: https://github.com/chantisnake/chocolateyPackage
❯ Update-GTCPackage dnspy
❯ choco pack
❯ choco push