Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chocolatey: Upgrade packaging to 2.5.13 #1276

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading