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}}' } } }