From c60a67839129155b98432df1e4a8b79355610cbe Mon Sep 17 00:00:00 2001 From: priyawadhwa Date: Thu, 8 Sep 2022 12:30:14 -0700 Subject: [PATCH] Fix harness tests @ main (#1038) `git fetch origin` isn't pulling in all version tags, it's only pulling up to v0.8.2. I wonder if it's because the remote is called something else. Instead of specifying the remote name, just pull in all tags. Signed-off-by: Priya Wadhwa Signed-off-by: Priya Wadhwa --- tests/rekor-harness.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rekor-harness.sh b/tests/rekor-harness.sh index ba1f5662d..aff0f6ea5 100755 --- a/tests/rekor-harness.sh +++ b/tests/rekor-harness.sh @@ -88,7 +88,7 @@ function run_tests () { } # Get last 2 server versions -git fetch origin +git fetch --all NUM_VERSIONS_TO_TEST=2 VERSIONS=$(git tag --sort=-version:refname | head -n $NUM_VERSIONS_TO_TEST | tac)