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.');
|
||||
}
|
||||
|
||||
async function validateJSON() {
|
||||
for (const item of jsonData) {
|
||||
for (const version of item.versions) {
|
||||
await validVersion(version);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
async function validVersion(version) {
|
||||
console.log(`Validating version ${version.version}...`);
|
||||
|
||||
@ -113,7 +105,6 @@ async function downloadFile(url, destinationPath, redirects = 5) {
|
||||
|
||||
async function run() {
|
||||
await updateManifest();
|
||||
await validateJSON();
|
||||
}
|
||||
|
||||
run();
|
Loading…
x
Reference in New Issue
Block a user