We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6e58f7 commit 90615f4Copy full SHA for 90615f4
tests/rekor-harness.sh
@@ -87,10 +87,17 @@ function run_tests () {
87
fi
88
}
89
90
-# Get last 3 server versions
+# Get last 2 server versions
91
git fetch origin
92
-NUM_VERSIONS_TO_TEST=3
+NUM_VERSIONS_TO_TEST=2
93
VERSIONS=$(git tag --sort=-version:refname | head -n $NUM_VERSIONS_TO_TEST | tac)
94
+
95
+# Also add the commit @ HEAD
96
+HEAD=$(git log --pretty="%H" -n 1 )
97
+echo "Also testing at HEAD at commit $HEAD"
98
99
+VERSIONS="$VERSIONS $HEAD"
100
101
echo $VERSIONS
102
103
export REKOR_HARNESS_TMPDIR="$(mktemp -d -t rekor_test_harness.XXXXXX)"
0 commit comments