You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the original reason for the travis code was that it stripped the git repo or branch info maybe? Not shelling out will be a tiny perf benefit. I'm not sure if there's other benefits.
Currently
Hatchet.git_branch
only recognises Travis CI environment variables, and for Circle CI has to fall back to querying Git:hatchet/lib/hatchet.rb
Lines 28 to 38 in f97e6f5
Circle sets the
CIRCLE_BRANCH
environment variable that could be used instead:https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables
The text was updated successfully, but these errors were encountered: