mirror of
https://github.com/beerpiss/saekawa.git
synced 2024-11-14 10:37:40 +01:00
more update logging
This commit is contained in:
parent
0fb81625b9
commit
9105491454
@ -197,6 +197,9 @@ pub fn self_update(module: &LibraryHandle) -> Result<bool, SelfUpdateError> {
|
|||||||
.into_json::<UpdateInformation>()
|
.into_json::<UpdateInformation>()
|
||||||
.context(InvalidUpdateInformationSnafu)?;
|
.context(InvalidUpdateInformationSnafu)?;
|
||||||
|
|
||||||
|
debug!(concat!("current commit: ", env!("VERGEN_GIT_SHA")));
|
||||||
|
debug!("remote commit: {}", response.commit);
|
||||||
|
|
||||||
if response.commit == env!("VERGEN_GIT_SHA") {
|
if response.commit == env!("VERGEN_GIT_SHA") {
|
||||||
info!("Already up-to-date.");
|
info!("Already up-to-date.");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user