mirror of
https://github.com/moghtech/komodo.git
synced 2026-10-28 08:00:37 +00:00
1.16.0 (#140)
* consolidate deserializers * key value list doc * use string list deserializers for all entity Vec<String> * add additional env files support * plumbing for Action resource * js client readme indentation * regen lock * add action UI * action backend * start on action frontend * update lock * get up to speed * get action started * clean up default action file * seems to work * toml export include action * action works * action works part 2 * bump rust version to 1.82.0 * copy deno bin from bin image * action use local dir * update not having changes doesn't return error * format with prettier * support yaml formatting with prettier * variable no change is Ok
This commit is contained in:
@@ -66,6 +66,7 @@ pub async fn commit_file_inner(
|
||||
"add files",
|
||||
repo_dir,
|
||||
format!("git add {}", file.display()),
|
||||
false,
|
||||
)
|
||||
.await;
|
||||
res.logs.push(add_log);
|
||||
@@ -77,8 +78,9 @@ pub async fn commit_file_inner(
|
||||
"commit",
|
||||
repo_dir,
|
||||
format!(
|
||||
"git commit -m \"[Komodo] {commit_msg}: update {file:?}\""
|
||||
"git commit -m \"[Komodo] {commit_msg}: update {file:?}\"",
|
||||
),
|
||||
false,
|
||||
)
|
||||
.await;
|
||||
res.logs.push(commit_log);
|
||||
@@ -102,7 +104,7 @@ pub async fn commit_file_inner(
|
||||
};
|
||||
|
||||
let push_log =
|
||||
run_komodo_command("push", repo_dir, "git push -f").await;
|
||||
run_komodo_command("push", repo_dir, "git push -f", false).await;
|
||||
res.logs.push(push_log);
|
||||
}
|
||||
|
||||
@@ -114,7 +116,8 @@ pub async fn commit_all(repo_dir: &Path, message: &str) -> GitRes {
|
||||
let mut res = GitRes::default();
|
||||
|
||||
let add_log =
|
||||
run_komodo_command("add files", repo_dir, "git add -A").await;
|
||||
run_komodo_command("add files", repo_dir, "git add -A", false)
|
||||
.await;
|
||||
res.logs.push(add_log);
|
||||
if !all_logs_success(&res.logs) {
|
||||
return res;
|
||||
@@ -124,6 +127,7 @@ pub async fn commit_all(repo_dir: &Path, message: &str) -> GitRes {
|
||||
"commit",
|
||||
repo_dir,
|
||||
format!("git commit -m \"[Komodo] {message}\""),
|
||||
false,
|
||||
)
|
||||
.await;
|
||||
res.logs.push(commit_log);
|
||||
@@ -147,7 +151,7 @@ pub async fn commit_all(repo_dir: &Path, message: &str) -> GitRes {
|
||||
};
|
||||
|
||||
let push_log =
|
||||
run_komodo_command("push", repo_dir, "git push -f").await;
|
||||
run_komodo_command("push", repo_dir, "git push -f", false).await;
|
||||
res.logs.push(push_log);
|
||||
|
||||
res
|
||||
|
||||
Reference in New Issue
Block a user