mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-07 16:01:24 +00:00
* 2.4.0-dev-0 * deploy 2.4.0-dev-1 * slightly optimize stack read path * Add IMAGE_NAME and IMAGE_TAG default build args in addition to VERSION * deploy 2.4.0-dev-2 * ui use || location.origin for base url * move to build time versioning * simplify run action with komodo managed version * procedure batch executions use tag filters * set advanced code splitting options * improve network module logic / edge cases * fix startup ordering - apply legacy db fixes before other tasks * lengthen periphery command timeouts * update deps * clients still have explicit versions * Add page breadcrumbs * mogh ui 1.2.6 * fix set version – set only specific path * cargo fmt * use mogh ui ListPagination * bump deps, rust 1.98.0 * missing dockerfile rust 1.98.0 bump
12 lines
351 B
TypeScript
12 lines
351 B
TypeScript
export const run = async (action: string) => {
|
|
const branch = await new Deno.Command("bash", {
|
|
args: ["-c", "git rev-parse --abbrev-ref HEAD"],
|
|
})
|
|
.output()
|
|
.then((r) => new TextDecoder("utf-8").decode(r.stdout).trim());
|
|
|
|
new Deno.Command("bash", {
|
|
args: ["-c", `km run -y action ${action} "BRANCH=${branch}"`],
|
|
}).spawn();
|
|
};
|