Skip to content

Commit 1b385f3

Browse files
committed
ci: allow the full Alpha string in the build matrix
1 parent 5968b4c commit 1b385f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎genMatrix.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const getAffectedDockerfiles = (filesAdded, filesModified, filesRenamed) => {
5252
};
5353

5454
const getFullNodeVersionFromDockerfile = (file) =>
55-
fs.readFileSync(file, 'utf8').match(/^ENV NODE_VERSION=(\d*\.*\d*\.\d*)/m)[1];
55+
fs.readFileSync(file, 'utf8').match(/^ENV NODE_VERSION=(\S*)/m)[1];
5656

5757
const getDockerfileMatrixEntry = (file) => {
5858
const [variant] = path.dirname(file).split(path.sep).slice(-1);

0 commit comments

Comments
 (0)