Skip to content

Commit

Permalink
lib: web: endpoints: Use VERGEN_GIT_DESCRIBE
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric authored and joaoantoniocardoso committed Oct 27, 2024
1 parent 447a062 commit 2b289e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/web/endpoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub async fn info() -> Json<Info> {
version: 0,
service: InfoContent {
name: env!("CARGO_PKG_NAME").into(),
version: "0.0.0".into(), //env!("VERGEN_GIT_SEMVER").into(),
version: env!("VERGEN_GIT_DESCRIBE").into(),
sha: env!("VERGEN_GIT_SHA").into(),
build_date: env!("VERGEN_BUILD_TIMESTAMP").into(),
authors: env!("CARGO_PKG_AUTHORS").into(),
Expand Down

0 comments on commit 2b289e0

Please sign in to comment.