Skip to content
Snippets Groups Projects
Commit 8e7eec63 authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

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

parent 52a7519f
No related branches found
No related tags found
No related merge requests found
......@@ -14,3 +14,4 @@ renovate-0.0.0-semantic-release.tgz
.eslintcache
junit.xml
/test-results
renovate-schema.json
This diff is collapsed.
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);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment