-
Notifications
You must be signed in to change notification settings - Fork 109
/
Copy pathchangelog.template
36 lines (28 loc) · 967 Bytes
/
changelog.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
### Changelog
<%
String processIssues(def milestone, def issues, String category) {
def milestoneTitle = URLEncoder.encode(milestone.title, "UTF-8")
def issueSummary = ""
println ''
println "**${category.capitalize()}s**"
println ''
issues[category].each { issue ->
println "* [#${issue.number}][${issue.number}] ${issue.title}"
issueSummary <<= "[${issue.number}]: ${issue.url}\n"
}
println ''
println "For details see [${milestone.title} ${category}s](https://github.com/Polve/bitcoin-rpc-client/issues?q=milestone%3A\"${milestoneTitle}\"+label%3A${category})"
return issueSummary
}
milestoneIssues.each { milestone, issues ->
def milestoneSummary = ""
println "#### Bitcoin RPC Client ${milestone.title}"
issueCategories.each {
if (issues[it] != null) {
milestoneSummary <<= processIssues(milestone, issues, it)
}
}
println ''
println milestoneSummary
}
%>