Skip to content

Commit

Permalink
Fix logic to update version when HEAD changes. (#10896)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcorre committed Jun 6, 2024
1 parent 6f1437e commit 886d307
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helix-loader/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ fn main() {
.ok()
.filter(|output| output.status.success())
.and_then(|x| String::from_utf8(x.stdout).ok())
.map(|x| x.trim().to_string())
else {
return;
};
Expand All @@ -67,6 +68,7 @@ fn main() {
.ok()
.filter(|output| output.status.success())
.and_then(|x| String::from_utf8(x.stdout).ok())
.map(|x| x.trim().to_string())
else {
return;
};
Expand Down

0 comments on commit 886d307

Please sign in to comment.