Skip to content

Commit 11d9abc

Browse files
committed
fix: changeVersion script on windows
1 parent 84f1a1f commit 11d9abc

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

script/changeVersion.ts

+11-2
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,22 @@ changeJson(path.resolve(__dirname, '../package.json'), 'version', v, () => {
5959
return;
6060
}
6161

62-
console.log(`git push; git push --tags`);
63-
exec(`git push; git push --tags`, (err5, stdout3) => {
62+
console.log(`git push`);
63+
exec(`git push`, (err5, stdout3) => {
6464
if (err5) {
6565
console.error(err5);
6666
return;
6767
}
6868
console.log(stdout3);
69+
70+
console.log('git push --tags');
71+
exec('git push --tags', (err6, stdout4) => {
72+
if (err6) {
73+
console.error(err6);
74+
return;
75+
}
76+
console.log(stdout4);
77+
});
6978
});
7079
});
7180
});

0 commit comments

Comments
 (0)