Skip to content

Commit

Permalink
fix: properly get hash and branch from env
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoe Spellman committed Mar 13, 2024
1 parent e299657 commit cce7066
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/admin/api_version/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ impl ApiVersion<'static> {
pub const fn build_info() -> ApiVersion<'static> {
Self {
version: Cow::Borrowed(env!("CARGO_PKG_VERSION")),
commit: Cow::Borrowed("GIT_HASH"),
branch: Cow::Borrowed("GIT_BRANCH"),
commit: Cow::Borrowed(env!("GIT_HASH")),
branch: Cow::Borrowed(env!("GIT_BRANCH")),
}
}
}
Expand Down

0 comments on commit cce7066

Please sign in to comment.