File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 12
12
"release" : " node scripts/release.mjs" ,
13
13
"size" : " pnpm run -r size" ,
14
14
"build" : " pnpm run -r build" ,
15
+ "build:dts" : " pnpm run -r build:dts" ,
15
16
"docs:build" : " pnpm run -r docs:build --filter ./packages/docs" ,
16
17
"play" : " pnpm run -r play" ,
17
18
"build:size" : " pnpm run -r build:size" ,
Original file line number Diff line number Diff line change @@ -232,8 +232,12 @@ async function main() {
232
232
step ( '\nCreating tags...' )
233
233
let versionsToPush = [ ]
234
234
for ( const pkg of pkgWithVersions ) {
235
- versionsToPush . push ( `refs/tags/${ pkg . name } @${ pkg . version } ` )
236
- await runIfNotDry ( 'git' , [ 'tag' , `${ pkg . name } @${ pkg . version } ` ] )
235
+ const tagName =
236
+ pkg . name === 'vue-router'
237
+ ? `v${ pkg . version } `
238
+ : `${ pkg . name } @${ pkg . version } `
239
+ versionsToPush . push ( `refs/tags/${ tagName } ` )
240
+ await runIfNotDry ( 'git' , [ 'tag' , `${ tagName } ` ] )
237
241
}
238
242
239
243
step ( '\nPublishing packages...' )
You can’t perform that action at this time.
0 commit comments