From ed37fc49b6f93271a0aa390531970d7b9cd40747 Mon Sep 17 00:00:00 2001 From: reivilibre <38398653+reivilibre@users.noreply.github.com> Date: Tue, 10 Aug 2021 12:41:25 +0100 Subject: [PATCH] Update scripts-dev/check_newsfragment.sh Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> --- scripts-dev/check_newsfragment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts-dev/check_newsfragment.sh b/scripts-dev/check_newsfragment.sh index 52e9b4a1..eabbba99 100755 --- a/scripts-dev/check_newsfragment.sh +++ b/scripts-dev/check_newsfragment.sh @@ -13,7 +13,7 @@ pr="$1" CONTRIBUTING_GUIDE_TEXT="!! Please see the contributing guide for help writing your changelog entry: https://github.com/matrix-org/sygnal/blob/main/CONTRIBUTING.md#changelog" -# If towncrier returns a non-zero exit code, print the contributing guide and exit +# If towncrier returns a non-zero exit code, print the contributing guide link and exit python -m towncrier.check --compare-with="origin/main" || (echo -e "$CONTRIBUTING_GUIDE_TEXT" >&2 && exit 1) echo