Restored version from env

This commit is contained in:
veeso
2021-06-26 18:06:16 +02:00
parent c7414ab070
commit 8a36c459d5
2 changed files with 2 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ impl AuthActivity {
if client.get_check_for_updates() {
debug!("Check for updates is enabled");
// Send request
match git::check_for_updates("0.5.0") {
match git::check_for_updates(env!("CARGO_PKG_VERSION")) {
Ok(github_tag) => github_tag,
Err(err) => {
// Report error