Skip to content

Commit a22201e

Browse files
committed
chore: Update changelog formatting
1 parent 494b3c1 commit a22201e

2 files changed

Lines changed: 24 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jreleaser {
134134
active.set(org.jreleaser.model.Active.ALWAYS)
135135
exported.set(true)
136136
stereotype.set(org.jreleaser.model.Stereotype.CLI)
137-
imageName.set("{{distributionName}}-{{projectEffectiveVersion}}")
137+
imageName.set("{{distributionName}}-{{projectVersion}}")
138138
moduleNames.set(listOf("java.logging", "java.xml"))
139139
jdeps {
140140
multiRelease.set("base")
@@ -168,12 +168,12 @@ jreleaser {
168168
}
169169
release {
170170
github {
171-
repoOwner.set("felipebz")
172171
overwrite.set(true)
173172
changelog {
174173
formatted.set(org.jreleaser.model.Active.ALWAYS)
175174
preset.set("conventional-commits")
176175
format.set("- {{commitShortHash}} {{commitTitle}}")
176+
contentTemplate.set(file("template/changelog.tpl"))
177177
contributors {
178178
enabled.set(false)
179179
}

template/changelog.tpl

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Changelog
2+
3+
{{changelogChanges}}
4+
5+
## Binaries
6+
7+
### 🌟 Universal
8+
9+
This distribution requires an external Java runtime.
10+
11+
* {{#f_release_download_url}}zpa-cli-{{projectVersion}}.zip{{/f_release_download_url}} (requires Java 17+)
12+
13+
### ☕️ Bundled Java Runtimes
14+
15+
These binaries provide their own Java runtime.
16+
17+
|Platform | Intel | Arm |
18+
| ------- | ----- | --- |
19+
| 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}} |
20+
| 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}} |
21+
| Windows | {{#f_release_download_url}}zpa-cli-{{projectVersion}}-windows-x86_64.zip{{/f_release_download_url}} | |
22+

0 commit comments

Comments
 (0)