switchspan / chocolatey-hugo

Chocolatey install for Hugo
1 stars 3 forks source link

Updated to v0.22.1 #8

Closed pauby closed 7 years ago

pauby commented 7 years ago

I've updated this to version 0.22.1 and did the following:

  1. Updated the chocolateyInstall.ps1 so that it only needs the checksum's updating for a new version. It will download the correct version from the Github page based on the version number in the .nuspec (using $env:ChocolateyPackageVersion). The changes to this file also make it a lot more readable (IMO);

  2. Updated the .nuspec file with the new version;

  3. Removed unnecessary comments in the .ps1 files;