Workflow fixed

НАХУЙ ЭТО ГОВНО!
This commit is contained in:
Shiroyasha 2024-09-29 22:43:33 +03:00
parent 0526cc9412
commit c0bf550eb8
Signed by: shiroyashik
GPG key ID: E4953D3940D7860A
6 changed files with 4 additions and 24 deletions

View file

@ -8,7 +8,6 @@ pub const AVATARS_ENV: &'static str = "AVATARS_FOLDER";
// Instance info
pub const SCULPTOR_VERSION: &'static str = env!("CARGO_PKG_VERSION");
pub const REPOSITORY: &'static str = "shiroyashik/sculptor";
pub const GIT_HASH: &'static str = env!("GIT_HASH", "Can't run git or build.rs failing!");
// reqwest parameters
pub const USER_AGENT: &'static str = "reqwest";

View file

@ -108,7 +108,7 @@ async fn main() -> Result<()> {
}));
// 3. Display info about current instance and check updates
tracing::info!("The Sculptor v{SCULPTOR_VERSION}+{} ({REPOSITORY})", &GIT_HASH[..7]);
tracing::info!("The Sculptor v{SCULPTOR_VERSION} ({REPOSITORY})");
// let _ = check_updates(REPOSITORY, SCULPTOR_VERSION).await; // Currently, there is no need to do anything with the result of the function
match get_latest_version(REPOSITORY).await {