Skip to content

Commit fd8def6

Browse files
committed
fix: temp fix vergen bug
1 parent cdd7132 commit fd8def6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethportal-api/src/version.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// The latest git commit hash of the build.
22
pub const TRIN_FULL_COMMIT: &str = env!("VERGEN_GIT_SHA");
3-
pub const TRIN_SHORT_COMMIT: &str = const_format::str_index!(TRIN_FULL_COMMIT, ..8);
3+
pub const TRIN_SHORT_COMMIT: &str = const_format::str_index!(TRIN_FULL_COMMIT, ..4);
44

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

0 commit comments

Comments
 (0)