Skip to content

Commit

Permalink
fix: account for equal sign on genMatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Dec 16, 2024
1 parent 5e7d7a7 commit 302e8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genMatrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 302e8dd

Please sign in to comment.