From 302e8dd3d421af9fb9f3dc7f70328aae0abc20a8 Mon Sep 17 00:00:00 2001 From: Diego Sampaio Date: Mon, 16 Dec 2024 16:09:37 -0300 Subject: [PATCH] fix: account for equal sign on genMatrix --- genMatrix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genMatrix.js b/genMatrix.js index af9ba39..807a547 100644 --- a/genMatrix.js +++ b/genMatrix.js @@ -44,7 +44,7 @@ const getAffectedDockerfiles = (filesAdded, filesModified, filesRenamed) => { }; const getFullRocketChatVersionFromDockerfile = (file) => fs.readFileSync(file, 'utf8') - .match(/^ENV RC_VERSION (\d*\.*\d*\.\d*)/m)[1]; + .match(/^ENV RC_VERSION=(\d*\.*\d*\.\d*)/m)[1]; const getDockerfileMatrixEntry = (file) => { const version = getFullRocketChatVersionFromDockerfile(file);