reenable versioning in manifest zip URL

This commit is contained in:
Ender 2024-04-01 10:57:47 +02:00
parent 1b503d8634
commit 0161970825
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ async function packageBuild() {
if (!fs.existsSync(distPath)) fs.mkdirSync(distPath); if (!fs.existsSync(distPath)) fs.mkdirSync(distPath);
// Initialize the zip file // Initialize the zip file
const zipName = `${manifest.file.name}.zip`; const zipName = `${manifest.file.name}-v${manifest.file.version}.zip`;
const zipFile = fs.createWriteStream(zipName); const zipFile = fs.createWriteStream(zipName);
const zip = archiver("zip", { zlib: { level: 9 } }); const zip = archiver("zip", { zlib: { level: 9 } });
zipFile.on("close", () => { zipFile.on("close", () => {