Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add skip check
Signed-off-by: Harta Angkasa <24356946+ItsHarta@users.noreply.github.com>
  • Loading branch information
ItsHarta committed Feb 2, 2026
commit 6f87718fdc0c9661ec330af65fbd4824f47bb5d5
8 changes: 6 additions & 2 deletions build-automation.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ const checkIfThereAreNewVersions = async (github) => {
const baseVersions = stdout.trim().split("\n");

const standardVersion = baseVersions.find(v => !v.startsWith("alpine"));
const { stdout: standardVersionOutput } = await exec(`. ./functions.sh && get_full_version ./${supportedVersion}/${standardVersion}`, { shell: "bash" });

const alpineVersion = baseVersions.find(v => v.startsWith("alpine"));
//skip if no base version found
if (!standardVersion || !alpineVersion) {
continue;
}

const { stdout: standardVersionOutput } = await exec(`. ./functions.sh && get_full_version ./${supportedVersion}/${standardVersion}`, { shell: "bash" });
const { stdout: alpineVersionOutput } = await exec(`. ./functions.sh && get_full_version ./${supportedVersion}/${alpineVersion}`, { shell: "bash" });
Comment thread
ItsHarta marked this conversation as resolved.
Comment thread
ItsHarta marked this conversation as resolved.

const fullVersion = { main : standardVersionOutput.trim(), alpine: alpineVersionOutput.trim() };
Expand Down