only validate new release

This commit is contained in:
Kilian von Pflugk 2024-05-26 01:11:38 +02:00
parent 2cf9f4fb99
commit 1973dee1f8

View File

@ -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();