This commit is contained in:
2024-09-06 11:24:49 +02:00
parent 8d68e85fb1
commit 76fd1c6996

View File

@@ -9,10 +9,10 @@ use std::fs;
use std::path::Path; use std::path::Path;
pub async fn remote_revision() -> u16 { pub async fn remote_revision() -> u16 {
match github::latest_tag(GH_IW4X_OWNER, GH_IW4X_OWNER).await { match github::latest_tag(GH_IW4X_OWNER, GH_IW4X_REPO).await {
Ok(tag) => misc::rev_to_int(&tag), Ok(tag) => misc::rev_to_int(&tag),
Err(_) => { Err(_) => {
crate::println_error!("Failed to get latest version for {GH_IW4X_OWNER}/{GH_IW4X_OWNER}, assuming we are up to date."); crate::println_error!("Failed to get latest version for {GH_IW4X_OWNER}/{GH_IW4X_REPO}, assuming we are up to date.");
0 0
} }
} }