chore: remove json schema from source control (#5420)

This commit is contained in:
Rhys Arkins 2020-02-10 10:20:31 +00:00 committed by GitHub
parent 52a7519f34
commit 8e7eec6362
3 changed files with 1 additions and 1510 deletions

1
.gitignore vendored
View file

@ -14,3 +14,4 @@ renovate-0.0.0-semantic-release.tgz
.eslintcache
junit.xml
/test-results
renovate-schema.json

File diff suppressed because it is too large Load diff

View file

@ -1,15 +1,3 @@
import shell from 'shelljs';
shell.exec('yarn create-json-schema');
const res = shell.exec('git status --porcelain', { silent: true });
if (res.code === 0 && !res.includes('renovate-schema.json')) {
shell.echo('PASS: renovate-schema.json is up to date');
shell.exit(0);
} else {
shell.echo(
"ERROR: renovate-schema.json needs updating. Run 'yarn create-json-schema' and commit."
);
shell.exit(-1);
}