From 19094fcc7ecbcf908960df0a59ae450f58514bd3 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 17 Jul 2025 17:35:26 +0800 Subject: [PATCH] MDL-83424 upgradenotes: Correct path to version file --- .grunt/notes/src/helpers.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.grunt/notes/src/helpers.mjs b/.grunt/notes/src/helpers.mjs index 87d741e732a..cddadcb6867 100644 --- a/.grunt/notes/src/helpers.mjs +++ b/.grunt/notes/src/helpers.mjs @@ -217,7 +217,7 @@ const getInitialMessageValue = (options) => { export const getCurrentVersion = async () => { const versionRegex = new RegExp(/^ *\$release *= *['\"](?[^ \+]+\+?) *\(Build:.*/m); try { - const versionFile = await readFile('version.php', 'utf8'); + const versionFile = await readFile('public/version.php', 'utf8'); const match = versionFile.match(versionRegex); if (match) { return match.groups.release;