Skip to content

Commit

Permalink
Chocolatey: Upgrade packaging to 1.6.2.
Browse files Browse the repository at this point in the history
Switch to a SHA256 sum and add an icon URL while we're here.
  • Loading branch information
geraldcombs authored and robertpanzer committed Feb 15, 2019
1 parent b079daa commit 0758c5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions chocolatey/asciidoctorj.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- 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
Expand All @@ -25,12 +25,10 @@
<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>
Expand Down
6 changes: 3 additions & 3 deletions chocolatey/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

$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
Expand All @@ -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
}
Expand Down

0 comments on commit 0758c5f

Please sign in to comment.