chocolatey-community / chocolatey-packages-template

A template to use when setting up to create packages both manual and automatic
Apache License 2.0
83 stars 348 forks source link

Update default version of Chocolatey CLI installed. #51

Open TheCakeIsNaOH opened 3 months ago

TheCakeIsNaOH commented 3 months ago

Appveyor does not always have an updated version of Chocolatey CLI installed in the windows images; see https://github.com/appveyor/ci/issues/3917

This can cause problems, for example pushing non-normalized versions to the Community Repository.

Therefore, it would be good if the default appveyor template had a step to upgrade Chocolatey CLI, potentially based on the chocolatey-community/chocolatey-packages appveyor.yaml: https://github.com/chocolatey-community/chocolatey-packages/blob/55bf12c43ccc939bd5dd75beb36c31c36306f61b/.appveyor.yml#L58-L71