Skip to content

Commit

Permalink
build: Changed package format to .tar.gz for Linux and macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebz committed Jan 13, 2023
1 parent 209ed3e commit d4c42b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ jreleaser {
val additionalDir = if (it.os == "mac") "/Contents/Home" else ""
path.set(file("build/jdks/${it.os}_${it.arch}/jdk-$jdkBuild$additionalDir"))
platform.set("$jreleaserOs-$jreleaseArch")
extraProperties.put("archiveFormat", if (jreleaserOs == "windows") "ZIP" else "TAR_GZ")
}
}
jdk {
Expand Down
4 changes: 2 additions & 2 deletions template/changelog.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ 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}} |
| MacOS | {{#f_release_download_url}}zpa-cli-{{projectVersion}}-osx-x86_64.tar.gz{{/f_release_download_url}} | {{#f_release_download_url}}zpa-cli-{{projectVersion}}-osx-aarch_64.tar.gz{{/f_release_download_url}} |
| Linux (glibc) | {{#f_release_download_url}}zpa-cli-{{projectVersion}}-linux-x86_64.tar.gz{{/f_release_download_url}} | {{#f_release_download_url}}zpa-cli-{{projectVersion}}-linux-aarch_64.tar.gz{{/f_release_download_url}} |
| Windows | {{#f_release_download_url}}zpa-cli-{{projectVersion}}-windows-x86_64.zip{{/f_release_download_url}} | |

0 comments on commit d4c42b6

Please sign in to comment.