reproducible debian: build.sh: take the automatic artifacts notifications back to #-changes

parent 42decf0c
......@@ -95,7 +95,8 @@ save_artifacts() {
# irc message
if [ ! -z "$NOTIFY" ] ; then
local MESSAGE="Artifacts for ${SRCPACKAGE}, $STATUS in ${SUITE}/${ARCH}: $URL"
if [ "$NOTIFY" = "diffoscope" ] ; then
if [ "$NOTIFY" = "diffoscope_err" ] ; then
irc_message debian-reproducible-changes "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE $STATUS and $DIFFOSCOPE failed"
irc_message debian-reproducible-changes "$MESSAGE (error running $DIFFOSCOPE)"
MESSAGE="$MESSAGE (error running $DIFFOSCOPE)"
else
......@@ -109,14 +110,11 @@ notification() {
if [ "$SAVE_ARTIFACTS" = "1" ] ; then
save_artifacts # this will also notify IRC as needed
else
case "$NOTIFY" in
case "$NOTIFY" in # the diffoscope_err case is handled by save_artifacts()
''|0) ;;
1|2)
irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS"
;;
diffoscope_err)
irc_message debian-reproducible-changes "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE $STATUS and $DIFFOSCOPE failed"
;;
diffoscope_timeout)
irc_message debian-reproducible-changes "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE $STATUS and $DIFFOSCOPE timed out"
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment