From 8d6dd16f63f5bdb51f10ae0f7ba33a9d8163b20b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 11 Mar 2017 15:22:50 +0100 Subject: reproducible Debian: remove debug when notifying about diffoscope failures Signed-off-by: Holger Levsen --- bin/reproducible_build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index b9f89c83..c3baac83 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -104,7 +104,11 @@ cleanup_all() { if [ "$SAVE_ARTIFACTS" = "1" ] ; then save_artifacts elif ( [ "$NOTIFY" = "1" ] || [ "$NOTIFY" = "2" ] ) && [ "$SAVE_ARTIFACTS" = "0" ] ; then - irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS debug: $NOTIFY" + if [ "$NOTIFY" = "diffoscope" ] ; then + irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE $STATUS and $DIFFOSCOPE failed…" + else + irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS debug: $NOTIFY" + fi elif [ ! -z "$NOTIFY" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then irc_message debian-reproducible-changes "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS debug: $NOTIFY" fi -- cgit v1.2.3-70-g09d2