Skip to content

Commit

Permalink
Chocolatey: Upgrade packaging to 2.5.13 (#1276)
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldcombs committed Jul 22, 2024
1 parent b669438 commit 41325ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions chocolatey/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ foreach ($f in @('tools\chocolateyinstall.ps1', 'tools\chocolateyinstall.ps1'))
> choco pack
# Test the package. You'll probably have to run this as administrator.
> choco install .\asciidoctorj.x.y.z.nupkg -dv -s .
> choco install asciidoctorj --version="x.y.z" --source="C:\Users\gerald\Development\asciidoctorj\chocolatey"
> where asciidoctorj
> asciidoctorj --help
> asciidoctorj ...other test commands
# Log into https://chocolatey.org/account and copy your API key.
# (This assumes you don't have a key set in your Chocolatey config.)
# Push the package to chocolatey.org.
> choco push --api-key=your-api-key asciidoctorj.x.y.z.nupkg
> choco push --source="'https://push.chocolatey.org/'" --api-key=your-api-key asciidoctorj.x.y.z.nupkg
----

. Add back whitespace:
Expand Down
4 changes: 2 additions & 2 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>2.5.7</version>
<version>2.5.13</version>
<!--
https://github.com/asciidoctor/asciidoctorj/graphs/contributors
https://github.com/asciidoctor/asciidoctor/graphs/contributors
Expand All @@ -26,7 +26,7 @@
<mailingListUrl>https://asciidoctor.zulipchat.com/</mailingListUrl>
<bugTrackerUrl>https://github.com/asciidoctor/asciidoctorj/issues</bugTrackerUrl>
<tags>asciidoctor asciidoc docbook pdf</tags>
<copyright>2012-2022 Dan Allen, Ryan Waldron and the Asciidoctor Project</copyright>
<copyright>Dan Allen, Ryan Waldron and the Asciidoctor Project</copyright>
<licenseUrl>https://raw.githubusercontent.com/asciidoctor/asciidoctorj/main/LICENSE.txt</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<!-- <iconUrl>https://raw.githubusercontent.com/asciidoctor/brand/main/logo/logo-fill-color.svg?sanitize=true</iconUrl> -->
Expand Down
4 changes: 2 additions & 2 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 = '2.5.7'
$adocjVersion = '2.5.13'
$packageName = 'asciidoctorj'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = "https://search.maven.org/remotecontent?filepath=org/asciidoctor/asciidoctorj/$($adocjVersion)/asciidoctorj-$($adocjVersion)-bin.zip"
Expand All @@ -13,7 +13,7 @@ $packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
url = $url
checksum = 'e25292735620cbb31af11e2fc730b52d9dac35a68f2f2f7ca4ee5aef0dfb7c37'
checksum = '67b420378c2887fdb330de2eb2d614a249224532eccc26c6f2ebe8330f878c38'
checksumType = 'sha256'
}

Expand Down

0 comments on commit 41325ac

Please sign in to comment.