From 6e51e58825837b7d68860b35b17f30ca2d37186f Mon Sep 17 00:00:00 2001 From: Samuel Burnham <45365069+samuelburnham@users.noreply.github.com> Date: Tue, 7 Nov 2023 08:48:06 -0500 Subject: [PATCH] Test SHA comparison --- benches/fibonacci_lem.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/benches/fibonacci_lem.rs b/benches/fibonacci_lem.rs index d81d4f0db0..4a1fea63a7 100644 --- a/benches/fibonacci_lem.rs +++ b/benches/fibonacci_lem.rs @@ -61,10 +61,11 @@ impl ProveParams { match output_type.as_ref() { "pr-comment" => ("fib".into(), format!("num-{}", self.fib_n)), "commit-comment" => { - let branch = env!("VERGEN_GIT_BRANCH"); - let branch_name = parse_merge_branch(branch).unwrap(); + //let branch = env!("VERGEN_GIT_BRANCH"); + //let branch_name = parse_merge_branch(branch).unwrap(); + let branch = env!("VERGEN_GIT_SHA"); ( - format!("fib-branch={}", branch_name), + format!("fib-branch={}", branch), format!("num-{}", self.fib_n), ) }