Added the software version to the mail default template and cli help text, updated README and build script

This commit is contained in:
ChaoticByte 2024-07-22 19:55:44 +02:00
parent e9f39d25b4
commit 9f31bf557d
No known key found for this signature in database
6 changed files with 33 additions and 17 deletions

View file

@ -61,7 +61,7 @@ func (r Recipient) sendNotices(notices []WidNotice, template MailTemplate, auth
data = cacheResult
} else {
cacheMisses++
mailContent, err := template.generate(n)
mailContent, err := template.generate(TemplateData{n, Version})
if err != nil {
logger.error("Could not create mail from template")
logger.error(err)