Skip to content

Commit

Permalink
chore: Update changelog formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebz committed Dec 1, 2022
1 parent 494b3c1 commit a22201e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jreleaser {
active.set(org.jreleaser.model.Active.ALWAYS)
exported.set(true)
stereotype.set(org.jreleaser.model.Stereotype.CLI)
imageName.set("{{distributionName}}-{{projectEffectiveVersion}}")
imageName.set("{{distributionName}}-{{projectVersion}}")
moduleNames.set(listOf("java.logging", "java.xml"))
jdeps {
multiRelease.set("base")
Expand Down Expand Up @@ -168,12 +168,12 @@ jreleaser {
}
release {
github {
repoOwner.set("felipebz")
overwrite.set(true)
changelog {
formatted.set(org.jreleaser.model.Active.ALWAYS)
preset.set("conventional-commits")
format.set("- {{commitShortHash}} {{commitTitle}}")
contentTemplate.set(file("template/changelog.tpl"))
contributors {
enabled.set(false)
}
Expand Down
22 changes: 22 additions & 0 deletions template/changelog.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Changelog

{{changelogChanges}}

## Binaries

### 🌟 Universal

This distribution requires an external Java runtime.

* {{#f_release_download_url}}zpa-cli-{{projectVersion}}.zip{{/f_release_download_url}} (requires Java 17+)

### ☕️ Bundled Java Runtimes

These binaries provide their own Java runtime.

|Platform | Intel | Arm |
| ------- | ----- | --- |
| MacOS | {{#f_release_download_url}}zpa-cli-{{projectVersion}}-osx-x86_64.zip{{/f_release_download_url}} | {{#f_release_download_url}}zpa-cli-{{projectVersion}}-osx-aarch_64.zip{{/f_release_download_url}} |
| Linux (glibc) | {{#f_release_download_url}}zpa-cli-{{projectVersion}}-linux-x86_64.zip{{/f_release_download_url}} | {{#f_release_download_url}}zpa-cli-{{projectVersion}}-linux-aarch_64.zip{{/f_release_download_url}} |
| Windows | {{#f_release_download_url}}zpa-cli-{{projectVersion}}-windows-x86_64.zip{{/f_release_download_url}} | |

0 comments on commit a22201e

Please sign in to comment.