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) {
140140 return aTags . localeCompare ( bTags ) ;
141141 } ) ;
142142 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' ) } -->`;
150143 const shortMessage = commitsItem . commit . message . split ( '\n' ) [ 0 ] ;
151- return `- ${ dateSortMarker } ${ shortMessage } @${ getAuthor ( commitsItem ) } ` ;
144+ return `- ${ shortMessage } @${ getAuthor ( commitsItem ) } ` ;
152145 } ) ;
153146 const nowFormatted = new Date ( ) . toLocaleDateString ( 'en-US' , {
154147 month : 'short' ,
@@ -200,7 +193,7 @@ yargs(process.argv.slice(2))
200193 type : 'string' ,
201194 } )
202195 . option ( 'repo' , {
203- default : 'material -ui' ,
196+ default : 'base -ui' ,
204197 describe : 'Repository to generate a changelog for' ,
205198 type : 'string' ,
206199 } ) ;
You can’t perform that action at this time.
0 commit comments