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-08-29 10:30:48 -0400 |
commit | 530617992bab82f209cab922956cde32514cf9ee (patch) | |
tree | 3f31ed1730c24201b6298b1242bb230aa9679b96 | |
parent | 31fc2b34ddbbe0ec1f3e716e37f44764f2d0b1b1 (diff) |
pbot announce - announce pkgbase instead of pkgnames
-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 bab4c29..57eb291 100755 --- a/src/abslibre-tools/librerelease +++ b/src/abslibre-tools/librerelease @@ -312,8 +312,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}" |