mirror of
https://github.com/ChristianSch/gitea-release-drafter.git
synced 2025-06-16 00:58:14 +00:00
Use Index attribute instead of internal ID
This commit is contained in:
parent
efdf01c071
commit
de9367738b
@ -65,7 +65,7 @@ func updateOrCreateDraftRelease(a *Action, cfg *config.RepoConfig) (*gitea.Relea
|
|||||||
fmt.Fprintf(&b, "## %s\n\n", strings.Title(label))
|
fmt.Fprintf(&b, "## %s\n\n", strings.Title(label))
|
||||||
|
|
||||||
for _, pr := range prs {
|
for _, pr := range prs {
|
||||||
fmt.Fprintf(&b, "* %s (#%d) @%s\n", pr.Title, pr.ID, pr.Poster.UserName)
|
fmt.Fprintf(&b, "* %s (#%d) @%s\n", pr.Title, pr.Index, pr.Poster.UserName)
|
||||||
}
|
}
|
||||||
|
|
||||||
b.WriteString("\n")
|
b.WriteString("\n")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user