Skip to content

Commit 394336b

Browse files
update automation for more liaisons (#1747)
Signed-off-by: Riaan Kleinhans <[email protected]>
1 parent cd31643 commit 394336b

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

generator/readme_app.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ type Meeting struct {
4040

4141
// Contact struct to hold contact information.
4242
type Contact struct {
43-
Slack string `yaml:"slack"`
44-
MailingList string `yaml:"mailing_list"`
45-
TOCLiaison Person `yaml:"toc_liaison"`
43+
Slack string `yaml:"slack"`
44+
MailingList string `yaml:"mailing_list"`
45+
TOCLiaison []Person `yaml:"toc_liaison"` // FIXED: Changed from 'Person' to '[]Person'
4646
}
4747

4848
// Tag struct to hold tag data, including CharterLink and Subprojects.

generator/tag_readme.tmpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
## Contact
3131
- Slack: [Tag {{.Name}} Slack](https://cloud-native.slack.com/archives/{{.Contact.Slack}})
3232
- [Mailing List]({{.Contact.MailingList}})
33-
- TOC Liaison: {{.Contact.TOCLiaison.Name}} (**[@{{.Contact.TOCLiaison.GitHub}}](https://github.com/{{.Contact.TOCLiaison.GitHub}})**)
33+
{{- range .Contact.TOCLiaison }}
34+
- TOC Liaison: {{.Name}} (**[@{{.GitHub}}](https://github.com/{{.GitHub}})**)
35+
{{- end }}
3436

3537
## Subprojects
3638
{{- range .TagSubprojects }}

generator/toc_subproject_readme.tmpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
## Contact
3131
- Slack: [Tag {{.Name}} Slack](https://cloud-native.slack.com/archives/{{.Contact.Slack}})
3232
- [Mailing List]({{.Contact.MailingList}})
33-
- TOC Liaison: {{.Contact.TOCLiaison.Name}} (**[@{{.Contact.TOCLiaison.GitHub}}](https://github.com/{{.Contact.TOCLiaison.GitHub}})**)
33+
{{- range .Contact.TOCLiaison }}
34+
- TOC Liaison: {{.Name}} (**[@{{.GitHub}}](https://github.com/{{.GitHub}})**)
35+
{{- end }}
3436

3537
{{- if .Leadership.SubprojectLeads }}
3638
### Subproject Leads

0 commit comments

Comments
 (0)