mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-06-08 07:47:39 -04:00
55 lines
1.2 KiB
Groovy
55 lines
1.2 KiB
Groovy
apply plugin: 'org.jreleaser'
|
|
|
|
jreleaser {
|
|
project {
|
|
name = 'sdkman-cli'
|
|
version = sdkmanVersion
|
|
description = 'Sdkman - The Software Development Kit Manager'
|
|
website = 'https://sdkman.io'
|
|
authors = ['Marco Vermeulen']
|
|
license = 'Apache-2.0'
|
|
extraProperties.put('inceptionYear', '2012')
|
|
}
|
|
|
|
release {
|
|
github {
|
|
overwrite = true
|
|
tagName = '{{projectVersion}}'
|
|
changelog {
|
|
formatted = 'ALWAYS'
|
|
format = '- {{commitShortHash}} {{commitTitle}}'
|
|
contributors {
|
|
format = '- {{contributorName}}'
|
|
}
|
|
contentTemplate = file('src/jreleaser/changelog.tpl')
|
|
hide {
|
|
contributors = ['GitHub']
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
distributions {
|
|
'sdkman-cli' {
|
|
distributionType = 'BINARY'
|
|
artifact {
|
|
path = "build/distributions/{{distributionName}}-${sdkmanVersion}.zip"
|
|
extraProperties.put("universal", "true")
|
|
}
|
|
}
|
|
}
|
|
|
|
announce {
|
|
mastodon {
|
|
active = 'RELEASE'
|
|
status = '🚀 SDKMAN! CLI {{tagName}} released! Full changelog: {{releaseNotesUrl}}'
|
|
host = 'https://fosstodon.org'
|
|
}
|
|
bluesky {
|
|
active = 'RELEASE'
|
|
host = 'https://bsky.social'
|
|
status = '🚀 SDKMAN! CLI {{tagName}} released! Full changelog: {{releaseNotesUrl}}'
|
|
}
|
|
}
|
|
}
|