From 41325ac933221f796138c65808333577de835dfa Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Mon, 22 Jul 2024 10:26:49 -0700 Subject: [PATCH] Chocolatey: Upgrade packaging to 2.5.13 (#1276) --- chocolatey/README.adoc | 4 ++-- chocolatey/asciidoctorj.nuspec | 4 ++-- chocolatey/tools/chocolateyinstall.ps1 | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/chocolatey/README.adoc b/chocolatey/README.adoc index f72ee6d9b..89f69b074 100644 --- a/chocolatey/README.adoc +++ b/chocolatey/README.adoc @@ -30,7 +30,7 @@ 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 @@ -38,7 +38,7 @@ foreach ($f in @('tools\chocolateyinstall.ps1', 'tools\chocolateyinstall.ps1')) # 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: diff --git a/chocolatey/asciidoctorj.nuspec b/chocolatey/asciidoctorj.nuspec index 1cd1c7a6b..99de50f80 100644 --- a/chocolatey/asciidoctorj.nuspec +++ b/chocolatey/asciidoctorj.nuspec @@ -5,7 +5,7 @@ asciidoctorj AsciidoctorJ (Install) - 2.5.7 + 2.5.13 diff --git a/chocolatey/tools/chocolateyinstall.ps1 b/chocolatey/tools/chocolateyinstall.ps1 index 0be61d146..39567239e 100644 --- a/chocolatey/tools/chocolateyinstall.ps1 +++ b/chocolatey/tools/chocolateyinstall.ps1 @@ -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" @@ -13,7 +13,7 @@ $packageArgs = @{ packageName = $packageName unzipLocation = $toolsDir url = $url - checksum = 'e25292735620cbb31af11e2fc730b52d9dac35a68f2f2f7ca4ee5aef0dfb7c37' + checksum = '67b420378c2887fdb330de2eb2d614a249224532eccc26c6f2ebe8330f878c38' checksumType = 'sha256' }