Skip to content

Commit

Permalink
Improve changelog generator script settings (#1210)
Browse files Browse the repository at this point in the history
* Update changelog script

* fix typo
  • Loading branch information
alamb authored Jan 21, 2022
1 parent fcd37ee commit db62ec3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
6 changes: 2 additions & 4 deletions .github_changelog_generator
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
# under the License.
#

# point to the old changelog in apache/arrow
front-matter=For older versions, see [apache/arrow/CHANGELOG.md](https://github.com/apache/arrow/blob/master/CHANGELOG.md)\n
# some issues are just documentation
add-sections={"documentation":{"prefix":"**Documentation updates:**","labels":["documentation"]}}
# Add special sections for documentation, security and performance
add-sections={"documentation":{"prefix":"**Documentation updates:**","labels":["documentation"]},"security":{"prefix":"**Security updates:**","labels":["security"]},"performance":{"prefix":"**Performance improvements:**","labels":["performance"]}}
# uncomment to not show PRs. TBD if we shown them or not.
#pull-requests=false
# so that the component is shown associated with the issue
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ rusty-tags.vi
.vscode
venv/*
# created by doctests
parquet/data.parquet
parquet/data.parquet
# release notes cache
.githubchangeloggenerator.cache
.githubchangeloggenerator.cache.log
10 changes: 6 additions & 4 deletions dev/release/update_change_log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ pushd ${SOURCE_TOP_DIR}
docker run -it --rm -e CHANGELOG_GITHUB_TOKEN=$CHANGELOG_GITHUB_TOKEN -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator \
--user apache \
--project arrow-rs \
--since-tag 6.0.0 \
--future-release 7.0.0

sed -i "s/\\\n/\n\n/" CHANGELOG.md
--cache-file=.githubchangeloggenerator.cache \
--cache-log=.githubchangeloggenerator.cache.log \
--http-cache \
--max-issues=300 \
--since-tag 7.0.0 \
--future-release 8.0.0

0 comments on commit db62ec3

Please sign in to comment.