Skip to content

Commit bf3eecb

Browse files
authored
Update build.yml (#325)
#!skip-build!# #!skip-deploy!# Signed-off-by: Nikita Petko <[email protected]>
1 parent 930395a commit bf3eecb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,12 @@ jobs:
463463
let deployableComponentsMap = '';
464464
465465
for (const component of deployableComponents.split(',')) {
466-
const [name] = component.split(':');
466+
const [name, version] = component.split(':');
467+
468+
if (!version) version = 'latest';
467469
468470
if (deployableComponents.includes(name)) {
469-
deployableComponentsMap += `${component},`;
471+
deployableComponentsMap += `${component}:${version},`;
470472
}
471473
}
472474

0 commit comments

Comments
 (0)