File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -140,15 +140,8 @@ async function main(argv) {
140
140
return aTags . localeCompare ( bTags ) ;
141
141
} ) ;
142
142
const changes = commitsItems . map ( ( commitsItem ) => {
143
- // Helps changelog author keeping track of order when grouping commits under headings.
144
- // ​ is a zero-width-space that ensures that the content of the listitem is formatted properly
145
- const dateSortMarker = `​<!-- ${ ( commitsItems . length - commitsItems . indexOf ( commitsItem ) )
146
- . toString ( )
147
- // Padding them with a zero means we can just feed a list into online sorting tools like https://www.online-utility.org/text/sort.jsp
148
- // i.e. we can sort the lines alphanumerically
149
- . padStart ( Math . floor ( Math . log10 ( commitsItemsByDateDesc . length ) ) + 1 , '0' ) } -->`;
150
143
const shortMessage = commitsItem . commit . message . split ( '\n' ) [ 0 ] ;
151
- return `- ${ dateSortMarker } ${ shortMessage } @${ getAuthor ( commitsItem ) } ` ;
144
+ return `- ${ shortMessage } @${ getAuthor ( commitsItem ) } ` ;
152
145
} ) ;
153
146
const nowFormatted = new Date ( ) . toLocaleDateString ( 'en-US' , {
154
147
month : 'short' ,
@@ -200,7 +193,7 @@ yargs(process.argv.slice(2))
200
193
type : 'string' ,
201
194
} )
202
195
. option ( 'repo' , {
203
- default : 'material -ui' ,
196
+ default : 'base -ui' ,
204
197
describe : 'Repository to generate a changelog for' ,
205
198
type : 'string' ,
206
199
} ) ;
You can’t perform that action at this time.
0 commit comments