Skip to content

Commit

Permalink
fix release version check (#10471)
Browse files Browse the repository at this point in the history
We cannot rely on the variable being named what it was named.
  • Loading branch information
ansis authored Mar 15, 2021
1 parent ae596ce commit f2e1c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ jobs:
- run:
name: Check build file for correct SDK version
command: |
if grep -q "sdkVersion:\"${CIRCLE_TAG:1}\"" ./dist/mapbox-gl.js; then
if grep -q "\"${CIRCLE_TAG:1}\"" ./dist/mapbox-gl.js; then
echo SDK version in mapbox-gl.js matches ${CIRCLE_TAG:1}
else
echo SDK version in mapbox-gl.js does not match ${CIRCLE_TAG:1}
Expand Down

0 comments on commit f2e1c5e

Please sign in to comment.