mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
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
18 lines
430 B
Bash
Executable File
18 lines
430 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
CONFIG_DIR=git-repo/ci/config
|
|
version=$( cat version/version )
|
|
|
|
milestone=${version}
|
|
if [[ $RELEASE_TYPE = "RELEASE" ]]; then
|
|
milestone=${version%.RELEASE}
|
|
fi
|
|
|
|
java -jar /github-changelog-generator.jar \
|
|
--spring.config.location=${CONFIG_DIR}/changelog-generator.yml \
|
|
${milestone} generated-changelog/changelog.md
|
|
|
|
echo ${version} > generated-changelog/version
|
|
echo v${version} > generated-changelog/tag
|