forked from sdkman/sdkman-cli-native
-
Notifications
You must be signed in to change notification settings - Fork 2
/
jreleaser.yml
75 lines (75 loc) · 2.45 KB
/
jreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
environment:
properties:
artifactsDir: out/jreleaser/assemble/sdkman-cli-native/archive
project:
name: sdkman
description: SDKMAN! native extensions
longDescription: Supplementary native extension binaries to replace SDKMAN! bash functions.
authors:
- Marco Vermeulen
- Oliver Weiler
license: Apache-2.0
links:
homepage: 'https://github.com/sdkman/sdkman-native-cli'
license: 'https://spdx.org/licenses/Apache-2.0.html'
inceptionYear: 2021
platform:
replacements:
osx-x86_64: x86_64-apple-darwin
osx-aarch_64: aarch64-apple-darwin
linux-x86_64: x86_64-unknown-linux-gnu
linux-aarch_64: aarch64-unknown-linux-gnu
windows-x86_64: x86_64-pc-windows-msvc
release:
github:
overwrite: true
changelog:
formatted: ALWAYS
preset: conventional-commits
contributors:
format: '- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}'
hide:
contributors:
- 'github-actions'
assemble:
archive:
sdkman-cli-native:
active: ALWAYS
formats:
- ZIP
attachPlatform: true
fileSets:
- input: 'target/{{ osPlatformReplaced }}/release'
output: libexec
includes:
- 'default{.exe,}'
- 'help{.exe,}'
- 'home{.exe,}'
- 'uninstall{.exe,}'
- 'version{.exe,}'
excludes:
- LICENSE
distributions:
sdkman-cli-native:
type: BINARY
executable:
windowsExtension: exe
artifacts:
- path: '{{artifactsDir}}/{{distributionName}}-{{projectVersion}}-aarch64-apple-darwin.zip'
platform: osx-aarch_64
- path: '{{artifactsDir}}/{{distributionName}}-{{projectVersion}}-x86_64-apple-darwin.zip'
platform: osx-x86_64
- path: '{{artifactsDir}}/{{distributionName}}-{{projectVersion}}-x86_64-pc-windows-msvc.zip'
platform: windows-x86_64
- path: '{{artifactsDir}}/{{distributionName}}-{{projectVersion}}-x86_64-unknown-linux-gnu.zip'
platform: linux-x86_64
- path: '{{artifactsDir}}/{{distributionName}}-{{projectVersion}}-aarch64-unknown-linux-gnu.zip'
platform: linux-aarch_64
announce:
twitter:
active: ALWAYS
status: 'Released native extensions version {{tagName}} of SDKMAN! {{releaseNotesUrl}}'
mastodon:
active: ALWAYS
host: https://fosstodon.org
status: 'Released native extensions version {{tagName}} of SDKMAN! {{releaseNotesUrl}}'