-
Notifications
You must be signed in to change notification settings - Fork 931
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
Cannot lint tag commits: unknown revision or path not in the working tree #6
Comments
If I check out a tag in my local repo I cannot reproduce the error. I'm not sure exactly how TravisCI is checking out the tag. |
Oh, huh, I guess this is happening on some branch commits too. Example: https://travis-ci.org/mozilla/web-ext/jobs/143135532 Most pull requests seem to be fine though. |
I see what's happening. TravisCI does a shallow clone, something like this (depending on pull request and repo):
This does not fetch the master branch. I fixed it by running this before installation (in my
|
Whenever TravisCI builds a tag,
conventional-changelog-lint
fails. It is working fine when TravisCI builds a pull request (in a branch).Any ideas? Is my lint command wrong? The command is:
Example of a TravisCI failure: https://travis-ci.org/mozilla/sign-addon/jobs/143130310
Complete error:
The text was updated successfully, but these errors were encountered: