Skip to content

Commit

Permalink
fix version (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmountaintop authored Oct 31, 2024
1 parent c0ef293 commit 12dbea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use tracing_subscriber::filter::{EnvFilter, LevelFilter};

const SDK_VERSION: &str = "v0.0.1";
const SDK_VERSION: &str = env!("CARGO_PKG_VERSION");

pub fn get_version(circuit_version: &str) -> String {
format!("{}-{}", SDK_VERSION, circuit_version)
format!("sdk-v{}-{}", SDK_VERSION, circuit_version)
}

pub fn init_tracing() {
Expand Down

0 comments on commit 12dbea1

Please sign in to comment.