runCmd = (cmd, args, options) => {
  const dirStr =
    options?.cwd && options.cwd !== "." ? ` [cwd=${options.cwd}]` : "";
  console.log(`>${dirStr} ${cmd} ${args.join(" ")}`);
  const res = spawnSync(cmd, args, options);
  if (res.status !== 0)
    throw new Error(
      `Non-zero exit status for command: "${cmd} ${args.join(" ")}" in ${
        options?.cwd || "."
      }`,
    );
}
@category saltcorn-cli
@module commands/release