mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Add configuration for changelog generator
This commits adds a dedicated configuration to be used when invoking the github changelog generator. This custom configuration makes sure to sort dependency upgrades based on the issue title. Closes gh-23484
This commit is contained in:
parent
1db2f5f960
commit
bdb6b2a4bb
17
ci/config/changelog-generator.yml
Normal file
17
ci/config/changelog-generator.yml
Normal file
@ -0,0 +1,17 @@
|
||||
changelog:
|
||||
repository: spring-projects/spring-boot
|
||||
sections:
|
||||
- title: ":star: New Features"
|
||||
labels:
|
||||
- "type: enhancement"
|
||||
- title: ":beetle: Bug Fixes"
|
||||
labels:
|
||||
- "type: bug"
|
||||
- "type: regression"
|
||||
- title: ":notebook_with_decorative_cover: Documentation"
|
||||
labels:
|
||||
- "type: documentation"
|
||||
- title: ":hammer: Dependency Upgrades"
|
||||
sort: "title"
|
||||
labels:
|
||||
- "type: dependency-upgrade"
|
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
CONFIG_DIR=git-repo/ci/config
|
||||
version=$( cat version/version )
|
||||
|
||||
milestone=${version}
|
||||
@ -9,7 +10,7 @@ if [[ $RELEASE_TYPE = "RELEASE" ]]; then
|
||||
fi
|
||||
|
||||
java -jar /github-changelog-generator.jar \
|
||||
--changelog.repository=spring-projects/spring-boot \
|
||||
--spring.config.location=${CONFIG_DIR}/changelog-generator.yml \
|
||||
${milestone} generated-changelog/changelog.md
|
||||
|
||||
echo ${version} > generated-changelog/version
|
||||
|
Loading…
Reference in New Issue
Block a user