Skip to content

Commit

Permalink
Added changelog to jreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Jun 22, 2021
1 parent ba09c56 commit a1459e2
Showing 1 changed file with 48 additions and 8 deletions.
56 changes: 48 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,30 @@ config {
issueTracker = 'https://github.com/redis-developer/${project.rootProject.name}/issues'
scm = 'https://github.com/redis-developer/${project.rootProject.name}.git'
}

scm {
url = "https://github.com/redis-developer/${project.rootProject.name}"
connection = "scm:git:https://github.com/redis-developer/${project.rootProject.name}.git"
developerConnection = "scm:git:[email protected]:redis-developer/${project.rootProject.name}.git"
}

specification {
enabled = true
}

implementation {
enabled = true
}

people {
person {
id = 'jruaux'
name = 'Julien Ruaux'
roles = ['developer', 'author']
}
}
publishing {
signing {
enabled = true
}
}
}

licensing {
enabled = false
licenses {
Expand All @@ -41,16 +41,16 @@ config {
}
}
}

docs {
javadoc {
enabled = false
autoLinks {
enabled = false
}
}
sourceHtml {
enabled = false
}
}

}

allprojects {
Expand Down Expand Up @@ -95,6 +95,46 @@ jreleaser {
github {
owner = 'redis-developer'
overwrite = true
changelog {
enabled = true
formatted = 'ALWAYS'
change = '- {{commitShortHash}} {{commitTitle}}'
labeler {
label = 'feature'
title = 'Resolves #'
body = 'Resolves #'
}
labeler {
label = 'issue'
title = 'Fixes #'
body = 'Fixes #'
}
labeler {
label = 'issue'
title = 'Relates to #'
body = 'Relates to #'
}
labeler {
label = 'task'
title = '[chore]'
}
category {
title = '🚀 Features'
labels = ['feature']
}
category {
title = '✅ Issues'
labels = ['issue']
}
category {
title = '🧰 Tasks'
labels = ['task']
}
replacer {
search = '\\[chore\\]\\s'
replace = ''
}
}
}
}
distributions {
Expand Down

0 comments on commit a1459e2

Please sign in to comment.