@@ -180,23 +180,24 @@ async function main() {
180180 step ( '\nUpdating versions in package.json files...' )
181181 await updateVersions ( pkgWithVersions )
182182
183- step ( '\nUpdating lock...' )
183+ step ( 'Updating lock...' )
184184 await runIfNotDry ( `pnpm` , [ 'install' ] )
185185
186186 step ( '\nGenerating changelogs...' )
187187 for ( const pkg of pkgWithVersions ) {
188- step ( ` -> ${ pkg . name } (${ pkg . path } )` )
189- step ( '\n Generating Changelog...')
188+ step ( `-> ${ chalk . bold ( pkg . name ) } (${ pkg . path } )` )
189+ step ( chalk . dim ( ' Generating Changelog...') )
190190 await runIfNotDry ( `pnpm` , [ 'run' , 'changelog' ] , { cwd : pkg . path } )
191- step ( '\n Formatting Changelog...')
191+ step ( chalk . dim ( ' Formatting Changelog...') )
192192 await runIfNotDry ( `pnpm` , [ 'exec' , 'prettier' , '--write' , 'CHANGELOG.md' ] , {
193193 cwd : pkg . path ,
194194 } )
195- step ( '\n Copying License ...')
195+ step ( chalk . dim ( ' Copying LICENSE ...') )
196196 await fs . copyFile (
197197 resolve ( __dirname , '../LICENSE' ) ,
198198 resolve ( pkg . path , 'LICENSE' )
199199 )
200+ step ( chalk . dim ( `Done with ${ chalk . bold ( pkg . name ) } ` ) )
200201 }
201202
202203 const { yes : isChangelogCorrect } = await prompt ( {
@@ -241,8 +242,9 @@ async function main() {
241242 step ( '\nCreating tags...' )
242243 let versionsToPush = [ ]
243244 for ( const pkg of pkgWithVersions ) {
244- const tagName =
245- pkg . name === 'vuefire' ? `v${ pkg . version } ` : `${ pkg . name } @${ pkg . version } `
245+ const tagName = `${ pkg . name } @${ pkg . version } `
246+ // NOTE: cannot do this because it won't work with the changelog generator
247+ // pkg.name === 'vuefire' ? `v${pkg.version}` : `${pkg.name}@${pkg.version}`
246248 versionsToPush . push ( `refs/tags/${ tagName } ` )
247249 await runIfNotDry ( 'git' , [ 'tag' , tagName ] )
248250 }
0 commit comments