Chocolatey: Upgrade packaging to 1.6.2.
Switch to a SHA256 sum and add an icon URL while we're here.
MODIFY
chocolatey/asciidoctorj.nuspec
chocolatey/asciidoctorj.nuspec
<!-- Read this before publishing packages to chocolatey.org: https://github.com/chocolatey/chocolatey/wiki/CreatePackages -->
<id>asciidoctorj</id>
<title>AsciidoctorJ (Install)</title>
- <version>1.6.0</version>
+ <version>1.6.2</version>
<!--
https://github.com/asciidoctor/asciidoctorj/graphs/contributors
https://github.com/asciidoctor/asciidoctor/graphs/contributors
<mailingListUrl>http://discuss.asciidoctor.org/</mailingListUrl>
<bugTrackerUrl>https://github.com/asciidoctor/asciidoctorj/issues</bugTrackerUrl>
<tags>asciidoctor asciidoc docbook pdf</tags>
- <copyright>2012-2018 Dan Allen, Ryan Waldron and the Asciidoctor Project</copyright>
+ <copyright>2012-2019 Dan Allen, Ryan Waldron and the Asciidoctor Project</copyright>
<licenseUrl>https://raw.githubusercontent.com/asciidoctor/asciidoctorj/master/LICENSE.txt</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
- <!-- https://github.com/asciidoctor/asciidoctor/issues/48
- <iconUrl></iconUrl>
- -->
+ <iconUrl>https://raw.githubusercontent.com/asciidoctor/brand/master/logo/logo-fill-color.svg?sanitize=true</iconUrl>
<dependencies>
<dependency id="jre8" />
</dependencies>

MODIFY
chocolatey/tools/chocolateyinstall.ps1
chocolatey/tools/chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'; # stop on all errors
-$adocjVersion = '1.5.6'
+$adocjVersion = '1.6.2'
$packageName= 'asciidoctorj' # arbitrary name for the package, used in messages
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
# Which is the preferred mirror? There are many listed at
@@ -18,8 +18,8 @@ $packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
url = $url
- checksum = 'f2ca8f525c8dea71acd0df6405cd143690b1db78'
- checksumType = 'sha1' #default is md5, can also be sha1
+ checksum = 'b42f0efc4f61c57c5638b6e3aff746bb4df825c0d1824ad3065763e9aed2945c'
+ checksumType = 'sha256' #default is md5, can also be sha1
#checksum64 = ''
#checksumType64= 'md5' #default is checksumType
}

Chocolatey: Upgrade packaging to 1.6.2.

Switch to a SHA256 sum and add an icon URL while we're here.