MCPcopy Create free account
hub / github.com/pinterest/gestalt / commitChanges

Function commitChanges

scripts/releaseSteps.js:119–124  ·  view source on GitHub ↗
({ message })

Source from the content-addressed store, hash-verified

117}
118
119function commitChanges({ message }) {
120 shell.exec('git add .');
121 shell.exec('git config --global user.email "pinterest.gestalt@gmail.com"');
122 shell.exec('git config --global user.name "Gestalt Bot"');
123 shell.exec(`git commit -am "${message}"`);
124}
125
126function pushChanges(releaseType) {
127 let upstreamBranch = 'origin master';

Callers 1

releaseSteps.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected