Skip to content

Commit

Permalink
test changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuqi-Du committed Oct 13, 2023
1 parent 9104f9c commit 7024c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update_changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 7024c60

Please sign in to comment.