Skip to content

Commit

Permalink
chore: set git user
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 20, 2023
1 parent e6cc4aa commit 2a596c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/update-changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 2a596c2

Please sign in to comment.