diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-01-24 04:38:02 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2024-03-28 23:11:34 -0400 |
commit | cd5375272d70e3eddc5d686bff02fb6ca7796607 (patch) | |
tree | 14ea095db211097fbeb62a9373fa0a13433d27b1 /src | |
parent | 66c33210dba1483dd09a47090122cd5ac21404b7 (diff) |
pbot announce pkgbase instead of packages
Diffstat (limited to 'src')
-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 5ca2c29..e1261f3 100755 --- a/src/abslibre-tools/librerelease +++ b/src/abslibre-tools/librerelease @@ -298,8 +298,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="if type pbot-say &>/dev/null; then pbot-say ${login} just published: ${packages}; fi" ssh ${REPODEST_port:+-p "$REPODEST_port"} "${REPODEST_userhost}" "${pbot_say_cmd}" |