Add directive to read version from repo.