Skip to content

Commit

Permalink
Bump binary version (#2018)
Browse files Browse the repository at this point in the history
Merge pull request #2018

Bump binary version
  • Loading branch information
CjS77 committed Jun 24, 2020
2 parents 5ef2d92 + bca3af8 commit be60a01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion applications/tari_base_node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authors = ["The Tari Development Community"]
description = "The tari full base node implementation"
repository = "https://github.com/tari-project/tari"
license = "BSD-3-Clause"
version = "0.3.0"
version = "0.4.2"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
6 changes: 4 additions & 2 deletions applications/tari_base_node/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ use tari_wallet::{
};
use tokio::{runtime, time};

const VERSION: &'static str = env!("CARGO_PKG_VERSION");

/// Enum representing commands used by the basenode
#[derive(Clone, PartialEq, Debug, Display, EnumIter, EnumString)]
#[strum(serialize_all = "kebab_case")]
Expand Down Expand Up @@ -143,6 +141,9 @@ pub struct Parser {
state_machine_info: Subscriber<StatusInfo>,
}

// Import the auto-generated const values from the Manifest and Git
include!(concat!(env!("OUT_DIR"), "/consts.rs"));

const MAKE_IT_RAIN_USAGE: &str = "\nmake-it-rain [Txs/s] [duration (s)] [start amount (uT)] [increment (uT)/Tx] \
[\"start time (UTC)\" / 'now' for immediate start] [public key or emoji id to send \
to] [message]\n or\nmake-it-rain [Txs/s] [duration (s)] [start amount (uT)] \
Expand Down Expand Up @@ -467,6 +468,7 @@ impl Parser {
/// Function process the version command
fn print_version(&mut self) {
println!("Version: {}", VERSION);
println!("Author: {}", AUTHOR);
}

/// Function to process the get-state-info command
Expand Down

0 comments on commit be60a01

Please sign in to comment.