Added the software version to the mail default template and cli help text, updated README and build script
This commit is contained in:
parent
e9f39d25b4
commit
9f31bf557d
6 changed files with 33 additions and 17 deletions
2
mail.go
2
mail.go
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue