diff --git a/jreleaser.yml b/jreleaser.yml index 94fd9f8bc..c81ba759f 100644 --- a/jreleaser.yml +++ b/jreleaser.yml @@ -57,6 +57,7 @@ release: preset: conventional-commits contributors: format: '- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}' + contentTemplate: 'src/jreleaser/changelog.tpl' extraProperties: categorizeScopes: true labelers: @@ -104,13 +105,6 @@ signing: active: ALWAYS armored: true -catalog: - sbom: - syft: - active: NEVER - pack: - enabled: true - deploy: maven: nexus2: @@ -178,55 +172,35 @@ assemble: distributions: riot: - flatpak: - active: NEVER - continueOnError: true - componentId: com.redis.riot.cli - developerName: Redis - runtime: FREEDESKTOP - runtimeVersion: 21.08 - finishArgs: - - --share=network - - --filesystem=host - categories: - - Developer Tools - skipReleases: - - '.*-RC.*' - - '.*-M.*' - repository: - active: RELEASE - owner: flathub - name: com.redis.riot.cli - branch: main - branchPush: '{{projectName}}-{{tagName}}' chocolatey: - active: NEVER + active: ALWAYS remoteBuild: true title: RIOT iconUrl: 'https://raw.githubusercontent.com/redis-developer/riot/main/src/media/icon_128x128.png' bucket: active: RELEASE jbang: - active: NEVER + active: ALWAYS + alias: riot + catalog: + commitMessage: 'riot {{tagName}}' macports: - active: NEVER + active: ALWAYS categories: - - devel - - java + - redis + - tool maintainers: - '@jruaux' repository: active: RELEASE name: riot-macports scoop: - active: NEVER + active: ALWAYS bucket: active: RELEASE - sdkman: - active: NEVER - continueOnError: true + commitMessage: 'riot {{tagName}}' snap: - active: NEVER + active: RELEASE remoteBuild: true base: core18 architectures: @@ -240,11 +214,6 @@ distributions: localPlugs: - network - home - spec: - active: NEVER - repository: - active: RELEASE - name: riot-copr artifacts: - path: plugins/{{distributionName}}/build/distributions/{{distributionName}}-{{projectVersion}}.zip transform: '{{distributionName}}/{{distributionName}}-{{projectEffectiveVersion}}.zip' diff --git a/src/jreleaser/changelog.tpl b/src/jreleaser/changelog.tpl new file mode 100644 index 000000000..d7094360e --- /dev/null +++ b/src/jreleaser/changelog.tpl @@ -0,0 +1,24 @@ +## Changelog + +{{changelogChanges}} +{{changelogContributors}} + +## Binaries + +### 🌟 Universal + +These binaries require an external Java runtime. + +* {{#f_release_download_url}}riot-{{projectEffectiveVersion}}.zip{{/f_release_download_url}} (requires Java 11+) +* {{#f_release_download_url}}riot-{{projectEffectiveVersion}}.tar{{/f_release_download_url}} (requires Java 11+) + +### ☕️ Bundled Java Runtimes + +These binaries provide their own Java runtime. + +|Platform | Intel | Arm | +| ------- | ----- | --- | +| MacOS | {{#f_release_download_url}}riot-standalone-{{projectEffectiveVersion}}-osx-x86_64.zip{{/f_release_download_url}} | {{#f_release_download_url}}riot-standalone-{{projectEffectiveVersion}}-osx-aarch64.zip{{/f_release_download_url}} | +| Linux (glibc) | {{#f_release_download_url}}riot-standalone-{{projectEffectiveVersion}}-linux-x86_64.zip{{/f_release_download_url}} | {{#f_release_download_url}}riot-standalone-{{projectEffectiveVersion}}-linux-aarch64.zip{{/f_release_download_url}} | +| Linux (musl) | {{#f_release_download_url}}riot-standalone-{{projectEffectiveVersion}}-linux_musl-x86_64.zip{{/f_release_download_url}} | {{#f_release_download_url}}riot-standalone-{{projectEffectiveVersion}}-linux_musl-aarch64.zip{{/f_release_download_url}} | +| Windows | {{#f_release_download_url}}riot-standalone-{{projectEffectiveVersion}}-windows-x86_64.zip{{/f_release_download_url}} | {{#f_release_download_url}}riot-standalone-{{projectEffectiveVersion}}-windows-aarch64.zip{{/f_release_download_url}} | \ No newline at end of file