Skip to content

Commit

Permalink
fix version string
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchell R. Vollger committed Dec 11, 2024
1 parent 9b53e88 commit b9d45dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ fn vergen() -> Result<(), Box<dyn Error>> {
let git2 = Git2Builder::all_git()?;
let cargo = CargoBuilder::all_cargo()?;

let status = Emitter::default()
Emitter::default()
.add_instructions(&build)?
.add_instructions(&git2)?
.add_instructions(&cargo)?
.emit()?;

//.emit()?;
Ok(())
}

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ use std::io::Write;
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
lazy_static! {
pub static ref FULL_VERSION: String = format!(
"{:?} git:{}",
std::env::var("VERGEN_GIT_SEMVER"),
"{} git details:{}",
env!("CARGO_PKG_VERSION"),
env!("VERGEN_GIT_DESCRIBE")
);
}
Expand Down

0 comments on commit b9d45dd

Please sign in to comment.