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> | 2022-01-28 10:35:27 -0500 |
commit | 48af9b026c3271331aec9e42c170a2b1ce1f1a88 (patch) | |
tree | 36bd9b2efdb4bb7d8106ef3d890e772ca453bd07 | |
parent | 7181d55d699c848c7239bd616e786c221ff11229 (diff) |
pbot announce pkgbase instead of packages
-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}" |