Skip to content

Commit

Permalink
build: address nightly regen failures (#2088)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored May 9, 2020
1 parent 93bd9d2 commit c78af18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"fix": "gts fix",
"pregenerate": "npm run build-tools",
"generate": "node build/src/generator/generate.js",
"postgenerate": "npm run fix",
"docs-test": "linkinator docs",
"predocs-test": "npm run docs",
"submit-prs": "node build/src/generator/synth.js",
Expand Down
1 change: 1 addition & 0 deletions src/generator/synth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ async function main() {
const title = `feat(${dir}): update the API`;
await execa('git', ['checkout', '-B', branch]);
await execa('git', ['add', path.join('src/apis', dir)]);
await execa('git', ['add', `discovery/${dir}-*`]);
await execa('git', ['commit', '-m', title]);
await execa('git', ['push', 'origin', branch, '--force']);
await gaxios.request({
Expand Down

0 comments on commit c78af18

Please sign in to comment.