File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,11 @@ creating the tag.
75
75
Defines the shell for the changelog. The changelog is created by concatenating
76
76
the shell, the commit log, and the issue list.
77
77
78
+ #### tracMilestone()
79
+
80
+ If using Trac, return a different milestone to be used in the queries to
81
+ generate a changelog and list of contributors. Defaults to ` newVersion ` .
82
+
78
83
#### issueTracker
79
84
80
85
Which type of issue tracker is being used for the project. Must be either
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ Release.define({
17
17
return "" ;
18
18
} ,
19
19
20
+ tracMilestone : function ( ) {
21
+ return Release . newVersion ;
22
+ } ,
23
+
20
24
_generateCommitChangelog : function ( ) {
21
25
var commits ,
22
26
commitRef = "[%h](http://github.com/jquery/" + Release . project + "/commit/%H)" ,
@@ -62,7 +66,7 @@ Release.define({
62
66
63
67
_generateTracChangelog : function ( ) {
64
68
console . log ( "Adding Trac tickets..." ) ;
65
- return Release . trac ( "/query?milestone=" + Release . newVersion + "&resolution=fixed" +
69
+ return Release . trac ( "/query?milestone=" + Release . tracMilestone ( ) + "&resolution=fixed" +
66
70
"&col=id&col=component&col=summary&order=component" ) + "\n" ;
67
71
} ,
68
72
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Release.define({
45
45
46
46
_gatherTracContributors : function ( ) {
47
47
var url = "/report/" + Release . contributorReportId +
48
- "?V=" + Release . newVersion + "&max=-1" ;
48
+ "?V=" + Release . tracMilestone ( ) + "&max=-1" ;
49
49
50
50
return Release . trac ( url )
51
51
. split ( / \r ? \n / )
You can’t perform that action at this time.
0 commit comments