Skip to content

Commit

Permalink
[build] Add changelog template
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Feb 17, 2022
1 parent 4c438e8 commit ddb86e2
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/early-access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:

jobs:
precheck:
name: Precheck
if: github.repository == 'jreleaser/jreleaser' && startsWith(github.event.head_commit.message, 'Releasing version') != true
runs-on: ubuntu-latest
outputs:
Expand Down Expand Up @@ -95,6 +96,7 @@ jobs:
out/jreleaser/assemble/jreleaser-installer/jpackage/*.rpm
release:
name: Release
needs: [precheck, assemble]
if: endsWith(${{ needs.precheck.outputs.VERSION }}, '-SNAPSHOT')
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ release:
format: '- {{commitShortHash}} {{commitTitle}}'
contributors:
format: '- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}'
contentTemplate: 'src/jreleaser/changelog.tpl'
labelers:
- label: 'merge_pull'
title: 'Merge pull'
Expand Down
30 changes: 30 additions & 0 deletions src/jreleaser/changelog.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
## Changelog

{{changelogChanges}}
{{changelogContributors}}

## Binaries

### Universal

* [jreleaser-{{projectEffectiveVersion}}.zip](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-{{projectEffectiveVersion}}.zip)
* [jreleaser-{{projectEffectiveVersion}}.tar](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-{{projectEffectiveVersion}}.tar)
* [jreleaser-ant-tasks-{{projectEffectiveVersion}}.zip](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-ant-tasks-{{projectEffectiveVersion}}.zip)
* [jreleaser-tool-provider-{{projectEffectiveVersion}}.jar](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-tool-provider-{{projectEffectiveVersion}}.jar)

### Bundled Java Runtime

|Platform | Intel | Arm |
| ------- | ----- | --- |
| MacOS | [jreleaser-standalone-{{projectEffectiveVersion}}-osx-x86_64.zip](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-standalone-{{projectEffectiveVersion}}-osx-x86_64.zip) | [jreleaser-standalone-{{projectEffectiveVersion}}-osx-aarch64.zip](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-standalone-{{projectEffectiveVersion}}-osx-aarch64.zip) |
| Linux (glibc) | [jreleaser-standalone-{{projectEffectiveVersion}}-linux-x86_64.zip](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-standalone-{{projectEffectiveVersion}}-linux-x86_64.zip) | [jreleaser-standalone-{{projectEffectiveVersion}}-linux-aarch64.zip](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-standalone-{{projectEffectiveVersion}}-linux-aarch64.zip) |
| Linux (musl) | [jreleaser-standalone-{{projectEffectiveVersion}}-linux_musl-x86_64.zip](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-standalone-{{projectEffectiveVersion}}-linux_musl-x86_64.zip) | [jreleaser-standalone-{{projectEffectiveVersion}}-linux_musl-aarch64.zip](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-standalone-{{projectEffectiveVersion}}-linux_musl-aarch64.zip) |
| Windows | [jreleaser-standalone-{{projectEffectiveVersion}}-windows-x86_64.zip](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-standalone-{{projectEffectiveVersion}}-windows-x86_64.zip) | [jreleaser-standalone-{{projectEffectiveVersion}}-windows-aarch64.zip](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-standalone-{{projectEffectiveVersion}}-windows-aarch64.zip) |

### Installers

* [jreleaser-installer-{{projectEffectiveVersion}}.pkg](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-installer-{{projectEffectiveVersion}}.pkg)
* [jreleaser-installer-{{projectEffectiveVersion}}-1_amd64.deb](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-installer-{{projectEffectiveVersion}}-1_amd64.deb)
* [jreleaser-installer-{{projectEffectiveVersion}}-1.x86_64.rpm](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-installer-{{projectEffectiveVersion}}-1.x86_64.rpm)
* [jreleaser-installer-{{projectEffectiveVersion}}.msi](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-installer-{{projectEffectiveVersion}}.msi)
* [jreleaser-installer-{{projectEffectiveVersion}}.exe](https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/jreleaser-installer-{{projectEffectiveVersion}}.exe)

0 comments on commit ddb86e2

Please sign in to comment.