Skip to content

Commit

Permalink
Add git config to publishPackages
Browse files Browse the repository at this point in the history
  • Loading branch information
dopenguin committed Nov 19, 2024
1 parent bcf38ce commit ec38a14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/publishPackages.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ for (const path of packages) {
tags.push(`${packageName}@${nextVersion}`)

cp.execSync(
`npm version ${nextVersion} --workspace ${packageName} && git add ${path}/package.json; npm version ${nextVersion} --include-workspace-root --force`
'git config user.name "Dataport Geo Bot" && git config user.email "[email protected]"'
)
cp.execSync(
`npm version ${nextVersion} --workspace ${packageName} && git add ${path}/package.json; npm version ${nextVersion} --include-workspace-root`
)
cp.execSync('npm publish --access=public', context)
}
Expand Down

0 comments on commit ec38a14

Please sign in to comment.