use `git rev-parse` to get tag canonical revision.
Merge pull request #120 from huandu/master

Use `git rev-parse` to get tag canonical revision