diff --git a/update_changelog.sh b/update_changelog.sh index 3bba431e1e..4bc05f219c 100755 --- a/update_changelog.sh +++ b/update_changelog.sh @@ -25,7 +25,7 @@ if [[ -t 1 ]]; then INTERACTIVE="-it" fi -docker run $INTERACTIVE --rm -v "$(pwd)":/usr/local/src/your-app ferrarimarco/github-changelog-generator -u stargate -p jsonapi -t $GITHUB_TOKEN --since-tag $previous_version --base $CHANGELOG_FILE --output $CHANGELOG_FILE --release-branch 'main' --exclude-labels 'duplicate,question,invalid,wontfix' +docker run $INTERACTIVE --rm -v "$(pwd)":/usr/local/src/your-app ferrarimarco/github-changelog-generator -u stargate -p jsonapi -t $GITHUB_TOKEN --since-tag $previous_version --base $CHANGELOG_FILE --output $CHANGELOG_FILE --release-branch 'changelog_fix' --exclude-labels 'duplicate,question,invalid,wontfix' # Remove the additional footer added head -n $(( $(wc -l < $CHANGELOG_FILE) - 3 )) $CHANGELOG_FILE > "$CHANGELOG_FILE.tmp" && mv "$CHANGELOG_FILE.tmp" "$CHANGELOG_FILE"