mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 14:36:25 +00:00
chore: remove json schema from source control (#5420)
This commit is contained in:
parent
52a7519f34
commit
8e7eec6362
3 changed files with 1 additions and 1510 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -14,3 +14,4 @@ renovate-0.0.0-semantic-release.tgz
|
|||
.eslintcache
|
||||
junit.xml
|
||||
/test-results
|
||||
renovate-schema.json
|
||||
|
|
1498
renovate-schema.json
1498
renovate-schema.json
File diff suppressed because it is too large
Load diff
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue