mirror of
https://github.com/Noratrieb/uptime.git
synced 2026-01-14 16:45:06 +01:00
Add commit to page
This commit is contained in:
parent
ef0de0124a
commit
1f89aae3de
4 changed files with 115 additions and 75 deletions
2
build.rs
2
build.rs
|
|
@ -23,7 +23,7 @@ fn try_get_commit() -> eyre::Result<String> {
|
|||
|
||||
let stdout = String::from_utf8(stdout)?;
|
||||
|
||||
Ok(stdout.trim().to_owned())
|
||||
Ok(stdout.trim()[0..8].to_owned())
|
||||
}
|
||||
|
||||
fn has_no_changes() -> eyre::Result<bool> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue