Skip to content

Commit b0f2410

Browse files
authored
[故障] 解决发布脚本未正确设置tag的问题
1 parent 5c2e82e commit b0f2410

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/tools/gulp/tasks/publish.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,14 @@ async function publishAll() {
7474
process.exit(1);
7575
}
7676
_npmInstall('normal');
77+
argv.tag = 'latest';
7778
error = await runTasks(['publish:jigsaw', 'publish:formly']);
7879
if (error) {
7980
process.exit(1);
8081
}
82+
8183
argv.nextVersion = argv.nextVersion + '-g1';
84+
argv.tag = 'governance';
8285
_npmInstall('governance');
8386
error = await runTasks(['publish:governance:jigsaw', 'publish:governance:formly']);
8487
if (error) {

0 commit comments

Comments
 (0)