From fe2ecdce6d985fc87ce53f556c0dca5468a1f263 Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Thu, 15 Feb 2024 10:50:11 -0800 Subject: [PATCH] Update run-benchmarks.sh --- .github/scripts/performance-benchmarking/run-benchmarks.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/scripts/performance-benchmarking/run-benchmarks.sh b/.github/scripts/performance-benchmarking/run-benchmarks.sh index 0fe11b9bb6..83afb53deb 100755 --- a/.github/scripts/performance-benchmarking/run-benchmarks.sh +++ b/.github/scripts/performance-benchmarking/run-benchmarks.sh @@ -48,9 +48,13 @@ if [ "$NOMS_BIN_FORMAT" = "__DOLT__" ]; then INIT_BIG_REPO="false" fi -# use first 8 characters of TO_VERSION to differentiate +# use first 8 characters of FROM_VERSION | TO_VERSION to differentiate # jobs short=${TO_VERSION:0:8} +if [ -n "$PROFILE" ]; then + short=${FROM_VERSION:0:8} +fi + lowered=$(echo "$ACTOR" | tr '[:upper:]' '[:lower:]') actorShort="$lowered-$short"