From bc7f748b3edac67ae534df81d9430f059eea2d55 Mon Sep 17 00:00:00 2001 From: MMK21Hub <50421330+MMK21Hub@users.noreply.github.com> Date: Tue, 22 Aug 2023 08:46:18 +0100 Subject: [PATCH] Downgrade version brand warning to a log --- src/builder.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/builder.ts b/src/builder.ts index a2246f3..7efc47d 100644 --- a/src/builder.ts +++ b/src/builder.ts @@ -371,6 +371,11 @@ export async function emitResourcePacks( name: "Building resource packs", }) + if (!buildOptions.packVersion) + console.log( + "Building development variants of the pack (for published releases, you should set a version number)" + ) + // Perform validation on the provided fixes const validateFixesTask = mainTask.push({ type: "emitResourcePacks.validateFixes", @@ -390,11 +395,6 @@ export async function emitResourcePacks( await ensureDir(outputDir) if (buildOptions.clearDirectory) await clearDir(outputDir, false) - if (!buildOptions.packVersion) - console.warn( - "No pack version specified. Published builds should be branded with a version number." - ) - // Validation needs to be complete before we start processing the fixes await validationPromise