only validate new release
This commit is contained in:
parent
aa1faf0f6f
commit
2ca64a974c
@ -31,14 +31,6 @@ async function updateManifest() {
|
|||||||
console.log('Manifest updated successfully.');
|
console.log('Manifest updated successfully.');
|
||||||
}
|
}
|
||||||
|
|
||||||
async function validateJSON() {
|
|
||||||
for (const item of jsonData) {
|
|
||||||
for (const version of item.versions) {
|
|
||||||
await validVersion(version);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
async function validVersion(version) {
|
async function validVersion(version) {
|
||||||
console.log(`Validating version ${version.version}...`);
|
console.log(`Validating version ${version.version}...`);
|
||||||
|
|
||||||
@ -113,7 +105,6 @@ async function downloadFile(url, destinationPath, redirects = 5) {
|
|||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
await updateManifest();
|
await updateManifest();
|
||||||
await validateJSON();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
run();
|
run();
|
Loading…
x
Reference in New Issue
Block a user