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-01-01 17:40:25 -0500 |
commit | d5319daaa3383bad67b19f756b8dec985d252424 (patch) | |
tree | f18528a4b88531af9ceae92eaa694fce5bc65fa1 | |
parent | dfca8a38f31130871b7d6957f4b52dde537c4b00 (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}" |