Skip to content

Commit

Permalink
Fetch all tags in harness tests (#1039)
Browse files Browse the repository at this point in the history
Signed-off-by: Priya Wadhwa <priya@chainguard.dev>

Signed-off-by: Priya Wadhwa <priya@chainguard.dev>
  • Loading branch information
priyawadhwa authored Sep 8, 2022
1 parent c60a678 commit 4420d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rekor-harness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function run_tests () {
}

# Get last 2 server versions
git fetch --all
git fetch --all --tags
NUM_VERSIONS_TO_TEST=2
VERSIONS=$(git tag --sort=-version:refname | head -n $NUM_VERSIONS_TO_TEST | tac)

Expand Down

0 comments on commit 4420d11

Please sign in to comment.