mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 09:56:05 -05:00
Add towncrier (#2873)
* Adds towncrier as our changelog system. * Updates our contributor guidelines for this. Resolves #2872
This commit is contained in:
committed by
Toby Harradine
parent
f0f274e1e1
commit
d4b6fdea92
19
tools/check_changelog_entries.sh
Normal file
19
tools/check_changelog_entries.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This can be run for other remotes than origin with the env vat `RED_REMOTE`
|
||||
REMOTE="${RED_REMOTE:-origin}"
|
||||
|
||||
if [[ $(git diff "$REMOTE"/V3/develop) ]]; then
|
||||
|
||||
if [[ $(git diff "$REMOTE"/V3/develop -- changelog.d/) ]]; then
|
||||
echo "Found changelog fragments..."
|
||||
exit 0
|
||||
else
|
||||
echo "Error: No new changelog fragments!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
else
|
||||
echo "No changes to need changelog for."
|
||||
exit 0
|
||||
fi
|
||||
@@ -30,6 +30,7 @@ docs =
|
||||
Sphinx
|
||||
sphinx_rtd_theme
|
||||
sphinxcontrib-trio
|
||||
towncrier
|
||||
mongo =
|
||||
dnspython
|
||||
motor
|
||||
|
||||
Reference in New Issue
Block a user