Skip to content

Commit

Permalink
Improve changelog entries (#6157)
Browse files Browse the repository at this point in the history
* add 'evergreen' Dependency updates entry

* turn issue numbers at the end of commit messages into links
  • Loading branch information
chris48s committed Feb 7, 2021
1 parent 7f7b101 commit 18dceec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/draft-release/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ touch temp-changes.txt
echo "## $RELEASE_NAME"
echo ""
git log "$LAST_TAG"..HEAD --no-merges --oneline --pretty="format:- %s" --perl-regexp --author='^((?!dependabot).*)$'
echo $'\n'
echo $'\n- Dependency updates\n'
} >> temp-changes.txt
BASE_URL="https:\/\/github.com\/badges\/shields\/issues\/"
sed -r -i "s/\((\#)([0-9]+)\)$/\[\1\2\]\($BASE_URL\2\)/g" temp-changes.txt

# Write the changelog
sed -i "${INSERT_POINT} r temp-changes.txt" CHANGELOG.md
Expand Down

0 comments on commit 18dceec

Please sign in to comment.