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

Add fallback for git branch calculation #871

Merged
merged 1 commit into from
Jan 4, 2019
Merged

Conversation

evans
Copy link
Contributor

@evans evans commented Jan 3, 2019

In some ci's, the git branch will not be present in the environment with
the default that env-ci uses, so we need to provide a fallback. The
fallback is either the PR's branch if present or the .git branch. This
branch is used inside of the Engine frontend to display more information
about the schema changes.

See https://github.com/pvdlg/env-ci#caveats for a longer list of cases
when the branch will not be present in the ci environment

In some ci's, the git branch will not be present in the environment with
the default that env-ci uses, so we need to provide a fallback. The
fallback is either the PR's branch if present or the .git branch. This
branch is used inside of the Engine frontend to display more information
about the schema changes.

See https://github.com/pvdlg/env-ci#caveats for a longer list of cases
when the branch will not be present in the ci environment
@evans evans force-pushed the evans/use-prBranch-fallback branch from 5b5fe71 to d05447d Compare January 4, 2019 00:12
@evans evans merged commit ef48c8f into master Jan 4, 2019
@evans evans deleted the evans/use-prBranch-fallback branch January 4, 2019 00:29
JakeDawkins pushed a commit that referenced this pull request Jan 16, 2019
In some ci's, the git branch will not be present in the environment with
the default that env-ci uses, so we need to provide a fallback. The
fallback is either the PR's branch if present or the .git branch. This
branch is used inside of the Engine frontend to display more information
about the schema changes.

See https://github.com/pvdlg/env-ci#caveats for a longer list of cases
when the branch will not be present in the ci environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants