chore(changelog): Cleanup changelog and exclude non-standard releases (#2203)

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2021-09-23 12:44:50 +05:30
committed by GitHub
parent 4f8727f9d4
commit 23d6266335
3 changed files with 334 additions and 446 deletions
+6 -1
View File
@@ -5,5 +5,10 @@ set -e
DIR=$(realpath $(dirname "$0"))/../
export GITHUB_TOKEN=$(cat ~/.github-token)
github_changelog_generator -u fission -p fission -t "${GITHUB_TOKEN}" --no-issues -o tmp_CHANGELOG.md
# ignore_tags lists tags which we dont want to include in the changelog
# and non standard releases
exclude_tags=$(tr '\n' ',' < hack/ignore_tags | sed 's/,$/\n/')
github_changelog_generator -u fission -p fission -t "${GITHUB_TOKEN}" \
--no-issues --exclude-labels "no-changelog" -o tmp_CHANGELOG.md \
--exclude-tags $exclude_tags
mv tmp_CHANGELOG.md "${DIR}"/CHANGELOG.md