mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-30 23:33:27 +03:00
Removes leo-version
This commit is contained in:
parent
772902e4b4
commit
0893f58a7c
@ -1 +0,0 @@
|
||||
v1.0.8
|
@ -21,7 +21,7 @@ use clap::{App, AppSettings, Arg};
|
||||
#[cfg_attr(tarpaulin, skip)]
|
||||
fn main() -> Result<(), CLIError> {
|
||||
let app = App::new("leo")
|
||||
.version(include_str!("./leo-version"))
|
||||
.version(env!("CARGO_PKG_VERSION"))
|
||||
.about("Leo compiler and package manager")
|
||||
.author("The Aleo Team <hello@aleo.org>")
|
||||
.settings(&[
|
||||
|
@ -34,7 +34,7 @@ impl Updater {
|
||||
.build()?
|
||||
.fetch()?;
|
||||
|
||||
tracing::info!("List of available Leo's versions");
|
||||
tracing::info!("List of available versions");
|
||||
for release in releases {
|
||||
tracing::info!("* {}", release.version);
|
||||
}
|
||||
@ -47,7 +47,7 @@ impl Updater {
|
||||
.repo_owner(Self::LEO_REPO_OWNER)
|
||||
.repo_name(Self::LEO_REPO_NAME)
|
||||
.bin_name(Self::LEO_BIN_NAME)
|
||||
.current_version(&include_str!("./leo-version").replace('v', ""))
|
||||
.current_version(&env!("CARGO_PKG_VERSION"))
|
||||
.show_download_progress(show_output)
|
||||
.no_confirm(true)
|
||||
.show_output(show_output)
|
||||
@ -63,7 +63,7 @@ impl Updater {
|
||||
.repo_owner(Self::LEO_REPO_OWNER)
|
||||
.repo_name(Self::LEO_REPO_NAME)
|
||||
.bin_name(Self::LEO_BIN_NAME)
|
||||
.current_version(&include_str!("./leo-version").replace('v', ""))
|
||||
.current_version(&env!("CARGO_PKG_VERSION"))
|
||||
.build()?;
|
||||
|
||||
let current_version = updater.current_version();
|
||||
|
Loading…
Reference in New Issue
Block a user