Skip to content

Commit

Permalink
fix: temp fix vergen bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenev committed Jan 9, 2025
1 parent d5b7f9d commit 194e26c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethportal-api/src/version.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// The latest git commit hash of the build.
pub const TRIN_FULL_COMMIT: &str = env!("VERGEN_GIT_SHA");
pub const TRIN_SHORT_COMMIT: &str = const_format::str_index!(TRIN_FULL_COMMIT, ..8);
pub const TRIN_SHORT_COMMIT: &str = const_format::str_index!(TRIN_FULL_COMMIT, ..4);

/// Trin's version is the same as the git tag.
pub const TRIN_VERSION: &str = const_format::str_split!(env!("VERGEN_GIT_DESCRIBE"), '-')[0];
Expand Down

0 comments on commit 194e26c

Please sign in to comment.