Skip to content

Commit 439eea0

Browse files
authored
Merge pull request #342 from flashbots/ash-mxqoxunrlosq
fix: correct git sha in user agent
2 parents 64a70be + 26be051 commit 439eea0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.dockerignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Version control
2-
.git
32
.github
43
.gitignore
54

5+
# Include for vergen constants
6+
!/.git
7+
68
# Build artifacts
79
**/target
810
integration_logs

crates/rollup-boost/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fn main() -> Result<(), Box<dyn Error>> {
1818

1919
emitter.emit_and_set()?;
2020
let sha = env::var("VERGEN_GIT_SHA")?;
21-
let sha_short = &sha[0..7];
21+
let sha_short = &sha[0..8];
2222

2323
// Set short SHA
2424
println!("cargo:rustc-env=VERGEN_GIT_SHA_SHORT={}", &sha_short);

0 commit comments

Comments
 (0)