Skip to content

Commit 7b1f05f

Browse files
committed
chore: git push all changes at the end of new releases
1 parent 6c80fd7 commit 7b1f05f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/release.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ const pkg = readJSONSync(pJoin(projectRootPath, 'package.json'));
170170
);
171171
}
172172

173+
// 13. Git sync/push all changes
174+
await gitPushToCurrentBranch('origin', { cwd, dryRun: argv.dryRun });
175+
173176
// END
174177
console.log(`🏁 Done (in ${Math.floor(process.uptime())}s.)`);
175178
}

0 commit comments

Comments
 (0)