summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2019-09-06 13:54:34 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2019-10-25 06:54:30 -0400
commitdba8171b8b72790e84a86569ca9be58c324b3f5d (patch)
tree79d030966e694e0df9c03bbd3e63c5763d20bc23
parent616e530abf595202101fc2a6df704c39d5286251 (diff)
notify pbot after sccessful publish
-rwxr-xr-xsrc/abslibre-tools/librerelease6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease
index 50d9162..8ebdc54 100755
--- a/src/abslibre-tools/librerelease
+++ b/src/abslibre-tools/librerelease
@@ -296,6 +296,12 @@ release_packages() {
)
fi
+ # notify pbot of the excellent work we have done
+ local packages=${file_list} # TODO: parse package names? - this is gonna be messy
+ local login=${REPODEST_userinfo:-somebody} ; login=${login%%:*} ;
+ ssh ${REPODEST_port:+-p "$REPODEST_port"} "${REPODEST_userhost}" \
+ "which pbot-say && pbot-say ${login} just published: ${packages}"
+
return $EXIT_SUCCESS
}