Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calculate git version in shaka-player directory
If the shaka-player directory doesn't have a '.git' file, we'll use the npm version instead of finding the '.git' file in the whole repository. This is to prevent grabbing version tag from a parent project, which uses shaka-player as a dependency. Test command: python -c 'from build import shakaBuildHelpers; print shakaBuildHelpers.calculate_version()' If there's is a .git file, it shows the git version. If not, it shows the npm version. Closes #871 Change-Id: Iee3cd6868c46f327966fd6ce5071ca7b750174b6
- Loading branch information