feat: add release changelog generation and package distribution integration
feat: add custom release changelog generator based on release tag ranges and prefixed commit lines build: include generated CHANGELOG.md in the distribution ZIP when present ci: generate release changelog during release workflow and use it as the GitHub release body ci: split release packaging so distZip is rebuilt after changelog generation chore: keep changelog generation out of quality-gate and report publishing workflows
This commit is contained in:
48
build.gradle
48
build.gradle
@@ -187,6 +187,54 @@ pitest {
|
||||
|
||||
application {
|
||||
mainClass = 'org.egothor.stemmer.Compile'
|
||||
applicationName = 'radixor'
|
||||
executableDir = 'bin'
|
||||
}
|
||||
|
||||
distributions {
|
||||
main {
|
||||
distributionBaseName = 'radixor'
|
||||
|
||||
contents {
|
||||
from('README.md') {
|
||||
into ''
|
||||
}
|
||||
|
||||
from('LICENSE') {
|
||||
into ''
|
||||
}
|
||||
|
||||
from('docs') {
|
||||
into 'docs'
|
||||
include 'quick-start.md'
|
||||
include 'cli-compilation.md'
|
||||
include 'dictionary-format.md'
|
||||
include 'built-in-languages.md'
|
||||
include 'programmatic-usage.md'
|
||||
include 'architecture-and-reduction.md'
|
||||
include 'quality-and-operations.md'
|
||||
include 'benchmarking.md'
|
||||
}
|
||||
|
||||
from(layout.buildDirectory.dir('generated/release-notes')) {
|
||||
into ''
|
||||
include 'CHANGELOG.md'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named('startScripts') {
|
||||
applicationName = 'radixor'
|
||||
}
|
||||
|
||||
tasks.named('distZip', Zip) {
|
||||
archiveBaseName = 'radixor'
|
||||
archiveClassifier = 'bin'
|
||||
}
|
||||
|
||||
tasks.named('distTar') {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
jmh {
|
||||
|
||||
Reference in New Issue
Block a user