Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SDK version check for CI #10354

Merged
merged 2 commits into from
Feb 5, 2021
Merged

Update SDK version check for CI #10354

merged 2 commits into from
Feb 5, 2021

Conversation

ryanhamley
Copy link
Contributor

Launch Checklist

  • briefly describe the changes in this PR
    • the SDK version check on CI wasn't quite right. it needs to check the ./dist folder and the sdkVersion in the build file does not have the v as the first character, hence the ${CIRCLE_TAG:1} change
    • i tested this change by SSH'ing into a Circle instance and confirmed that it works as expected
  • apply changelog label ('bug', 'feature', 'docs', etc) or use the label 'skip changelog'

@ryanhamley ryanhamley added the skip changelog Used for PRs that do not need a changelog entry label Feb 5, 2021
@ryanhamley ryanhamley requested a review from karimnaaji February 5, 2021 00:07
else
echo SDK version in mapbox-gl.js does not match $CIRCLE_TAG
echo SDK version in mapbox-gl.js does not match ${CIRCLE_TAG:1}
circleci-agent step halt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest replacing this halt by a red build, silently failing on that case will lead to forgetting cdn publish if not being thorough on the deployment steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changelog Used for PRs that do not need a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants