first tweaks for a release-notes addition

This commit is contained in:
mag37 2024-10-04 14:39:51 +02:00
parent 827bb7e14a
commit 9f8c62ed96
3 changed files with 16 additions and 1 deletions

View file

@ -5,7 +5,7 @@
send_notification() {
Updates=("$@")
UpdToString=$( printf "%s\n" "${Updates[@]}" )
[ -s "$ScriptWorkDir"/urls.list ] && UpdToString=$( releasenotes ) || UpdToString=$( printf "%s\n" "${Updates[@]}" )
FromHost=$(hostname)
# platform specific notification code would go here