Skip to content

Commit

Permalink
build: Added changelog template
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Ruaux committed Jun 1, 2023
1 parent d74cee7 commit 5a707b3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 43 deletions.
55 changes: 12 additions & 43 deletions jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ release:
preset: conventional-commits
contributors:
format: '- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}'
contentTemplate: 'src/jreleaser/changelog.tpl'
extraProperties:
categorizeScopes: true
labelers:
Expand Down Expand Up @@ -104,13 +105,6 @@ signing:
active: ALWAYS
armored: true

catalog:
sbom:
syft:
active: NEVER
pack:
enabled: true

deploy:
maven:
nexus2:
Expand Down Expand Up @@ -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:
Expand All @@ -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'
Expand Down
24 changes: 24 additions & 0 deletions src/jreleaser/changelog.tpl
Original file line number Diff line number Diff line change
@@ -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}} |

0 comments on commit 5a707b3

Please sign in to comment.