Update status chocolatey/tragiccode
This project contains the automatic updating packages for the public community chocolatey feed.
When a new package is added simply update the nuspec version of the new package to an older version ( one that is not the latest ). When the PR with the new package is merged into master, the CI/CD process will automatically see the version needs updating and update it ALONG with submitting this new package as a new package to the public chocolatey community feed.
You might want to resubmit an existing package locally if validation failed and you want to recreate and push the nuget package locally. This can be done as shown below.
> cd C:\Source\chocolatey-packages\mongodb-database-tools
> $au_Force = $true; .\update.ps1
> choco push .\mongodb-database-tools.100.1.1.nupkg
Sometimes a previous version was rejected and you need to repush it.
- install the checksum chocolatey package
choco install checksum -y
- Find download url and Download the installer
- put download url in chocolateyinstall.ps1
- run follow command and put sha in chocolateyinstall.ps1
checksum C:\Downloads\serviceinsight.exe -t sha256
- Update version in nuspec file
- pack
choco pack .\serviceinsight.nuspec
- Test install
choco install serviceinsight -s . --force
- push
- Fork it ( https://github.com/tragiccode/chocolatey-packages/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request