Skip to content

Commit fa54cb0

Browse files
committed
extract raw version / commit hash
1 parent fcd2c92 commit fa54cb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.buildkite/scripts/run-bc-upgrade-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ fi
3636

3737
CURRENT_VERSION=$(sed -n 's/^elasticsearch[[:space:]]*=[[:space:]]*\(.*\)/\1/p' build-tools-internal/version.properties)
3838

39-
BC_VERSION=$(echo "$MANIFEST" | jq .version)
40-
BC_COMMIT_HASH=$(echo "$MANIFEST" | jq .projects.elasticsearch.commit_hash)
39+
BC_VERSION=$(echo "$MANIFEST" | jq -r .version)
40+
BC_COMMIT_HASH=$(echo "$MANIFEST" | jq -r .projects.elasticsearch.commit_hash)
4141

4242
if [ "$CURRENT_VERSION-SNAPSHOT" != "$BC_VERSION" ]; then
4343
echo "Version [$BC_VERSION] of BC (or snapshot) does not match current version [$CURRENT_VERSION] of branch [$BUILDKITE_BRANCH]."

0 commit comments

Comments
 (0)