Skip to content

Commit

Permalink
Fix harness tests @ main (#1038)
Browse files Browse the repository at this point in the history
`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 <priya@chainguard.dev>

Signed-off-by: Priya Wadhwa <priya@chainguard.dev>
  • Loading branch information
priyawadhwa committed Sep 8, 2022
1 parent a6d36b8 commit c60a678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rekor-harness.sh
Expand Up @@ -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)

Expand Down

0 comments on commit c60a678

Please sign in to comment.