add run_always to recently migrated start_process command
This commit is contained in:
parent
05e1ae7bd4
commit
55e2c2681e
1 changed files with 4 additions and 1 deletions
|
|
@ -66,16 +66,19 @@ impl GitInfo {
|
|||
.arg("-1")
|
||||
.arg("--date=short")
|
||||
.arg("--pretty=format:%cd")
|
||||
.run_always()
|
||||
.start_capture_stdout(&exec_ctx);
|
||||
|
||||
let mut git_hash_cmd = helpers::git(Some(dir));
|
||||
let ver_hash = git_hash_cmd.arg("rev-parse").arg("HEAD").start_capture_stdout(&exec_ctx);
|
||||
let ver_hash =
|
||||
git_hash_cmd.arg("rev-parse").arg("HEAD").run_always().start_capture_stdout(&exec_ctx);
|
||||
|
||||
let mut git_short_hash_cmd = helpers::git(Some(dir));
|
||||
let short_ver_hash = git_short_hash_cmd
|
||||
.arg("rev-parse")
|
||||
.arg("--short=9")
|
||||
.arg("HEAD")
|
||||
.run_always()
|
||||
.start_capture_stdout(&exec_ctx);
|
||||
|
||||
GitInfo::Present(Some(Info {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue