diff options
Diffstat (limited to 'src/abslibre-tools/librerelease')
-rwxr-xr-x | src/abslibre-tools/librerelease | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease index acb4a8d..b3fe624 100755 --- a/src/abslibre-tools/librerelease +++ b/src/abslibre-tools/librerelease @@ -309,8 +309,11 @@ release_packages() { fi # notify pbot of the excellent work we have done - local packages=$(grep -zE '\.pkg\.tar\.[^\.]+$' ${file_list} | sed -z 's|.*/\([^/ ]*\)-[^-]*$|\1|' | sort -zu | xargs -0) local login=${REPODEST_userinfo:-somebody} ; login=${login%%:*} ; + local packages=$(grep -zE '\.pkg\.tar\.[^\.]+$' ${file_list} | \ + grep -zEv '\-debug\-' | \ + sed -z 's|\([^/]*\)/\([^/ ]*\)-[^-]*$|\2(\1) |' | \ + sort -zu | xargs -0 ) local pbot_say_cmd="which pbot-say && pbot-say ${login} just published: ${packages}" ssh ${REPODEST_port:+-p "$REPODEST_port"} "${REPODEST_userhost}" "${pbot_say_cmd}" |