Skip to content

Commit cd84c76

Browse files
committed
update
1 parent 88bd2b2 commit cd84c76

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/release/release.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const release = (shell, option, version) => {
3333
shell.echo("Creating release branch...");
3434
// update version
3535
exec(shell, `npm version ${version}`);
36+
exec(shell, "git push origin main");
3637
exec(shell, `echo { "version": "${version}" }>version.json`);
3738
// creating changelog
3839
exec(shell, "yarn changelog");

packages/release/release.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ test('--start option runs the correct commands', () => {
4545
"yarn test",
4646
"yarn build:release",
4747
"npm version 0.10.0",
48+
"git push origin main",
4849
"echo { \"version\": \"0.10.0\" }>version.json",
4950
"yarn changelog",
5051
"git add CHANGELOG.md",

0 commit comments

Comments
 (0)