Skip to content

Commit 85d92c5

Browse files
author
Isaac Zinda
committed
add some debugging info
1 parent b53e7f8 commit 85d92c5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ci/clone_lightstep_benchmarks.sh

+6-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@ git fetch --all --tags
1414

1515
# find most recent release whose tag matches the specified major / minor
1616
# version
17-
MATCHING_VERSIONS=`git tag --sort -version:refname --list "v${MAJOR_VERSION}.*.*"`
18-
NEWEST_VERSION=`echo ${MATCHING_VERSIONS} | tr '\n' ',' | cut -d ',' -f 1`
17+
MATCHING_VERSIONS=`git tag --sort -version:refname --list "v${MAJOR_VERSION}.*.*" | tr '\n' ','`
18+
NEWEST_VERSION=`echo ${MATCHING_VERSIONS} | cut -d ',' -f 1`
19+
20+
echo "versions, newest to oldest: ${MATCHING_VERSIONS}"
21+
echo "newest version: ${NEWEST_VERSION}"
1922

2023
# checkout the code corresponding to the newest tag
2124
git checkout tags/${NEWEST_VERSION}
2225

2326
# so that we can confirm everything is a-okay
24-
git branch
27+
git branch; git tag

0 commit comments

Comments
 (0)