mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 21:25:11 +00:00
chore: set git user
This commit is contained in:
parent
e6cc4aa02a
commit
2a596c2b3d
@ -18,6 +18,8 @@ async function main () {
|
||||
// Create and push a branch with bumped versions if it has not already been created
|
||||
const branchExists = execSync(`git ls-remote --heads origin v${newVersion}`).toString().trim().length > 0
|
||||
if (!branchExists) {
|
||||
execSync('git config --global user.email "daniel@roe.dev"')
|
||||
execSync('git config --global user.name "Daniel Roe"')
|
||||
execSync(`git checkout -b v${newVersion}`)
|
||||
|
||||
for (const pkg of workspace.packages.filter(p => !p.data.private)) {
|
||||
|
Loading…
Reference in New Issue
Block a user