File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,13 @@ const checkIfThereAreNewVersions = async (github) => {
2020 const baseVersions = stdout . trim ( ) . split ( "\n" ) ;
2121
2222 const standardVersion = baseVersions . find ( v => ! v . startsWith ( "alpine" ) ) ;
23- const { stdout : standardVersionOutput } = await exec ( `. ./functions.sh && get_full_version ./${ supportedVersion } /${ standardVersion } ` , { shell : "bash" } ) ;
24-
2523 const alpineVersion = baseVersions . find ( v => v . startsWith ( "alpine" ) ) ;
24+ //skip if no base version found
25+ if ( ! standardVersion || ! alpineVersion ) {
26+ continue ;
27+ }
28+
29+ const { stdout : standardVersionOutput } = await exec ( `. ./functions.sh && get_full_version ./${ supportedVersion } /${ standardVersion } ` , { shell : "bash" } ) ;
2630 const { stdout : alpineVersionOutput } = await exec ( `. ./functions.sh && get_full_version ./${ supportedVersion } /${ alpineVersion } ` , { shell : "bash" } ) ;
2731
2832 const fullVersion = { main : standardVersionOutput . trim ( ) , alpine : alpineVersionOutput . trim ( ) } ;
You can’t perform that action at this time.
0 commit comments