Skip to content

Commit db62ec3

Browse files
authored
Improve changelog generator script settings (#1210)
* Update changelog script * fix typo
1 parent fcd37ee commit db62ec3

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.github_changelog_generator

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@
1818
# under the License.
1919
#
2020

21-
# point to the old changelog in apache/arrow
22-
front-matter=For older versions, see [apache/arrow/CHANGELOG.md](https://github.com/apache/arrow/blob/master/CHANGELOG.md)\n
23-
# some issues are just documentation
24-
add-sections={"documentation":{"prefix":"**Documentation updates:**","labels":["documentation"]}}
21+
# Add special sections for documentation, security and performance
22+
add-sections={"documentation":{"prefix":"**Documentation updates:**","labels":["documentation"]},"security":{"prefix":"**Security updates:**","labels":["security"]},"performance":{"prefix":"**Performance improvements:**","labels":["performance"]}}
2523
# uncomment to not show PRs. TBD if we shown them or not.
2624
#pull-requests=false
2725
# so that the component is shown associated with the issue

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ rusty-tags.vi
77
.vscode
88
venv/*
99
# created by doctests
10-
parquet/data.parquet
10+
parquet/data.parquet
11+
# release notes cache
12+
.githubchangeloggenerator.cache
13+
.githubchangeloggenerator.cache.log

dev/release/update_change_log.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ pushd ${SOURCE_TOP_DIR}
3636
docker run -it --rm -e CHANGELOG_GITHUB_TOKEN=$CHANGELOG_GITHUB_TOKEN -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator \
3737
--user apache \
3838
--project arrow-rs \
39-
--since-tag 6.0.0 \
40-
--future-release 7.0.0
41-
42-
sed -i "s/\\\n/\n\n/" CHANGELOG.md
39+
--cache-file=.githubchangeloggenerator.cache \
40+
--cache-log=.githubchangeloggenerator.cache.log \
41+
--http-cache \
42+
--max-issues=300 \
43+
--since-tag 7.0.0 \
44+
--future-release 8.0.0

0 commit comments

Comments
 (0)