pieterclaerhout/go-james

Improve the way the revision is calculated

pieterclaerhout opened this issue · 0 comments

With the changes from #105, the returned revision isn't always correct.

We should use the following command to get the revision:

git rev-parse --short HEAD

And this one to see if it's dirty or not

git describe --always --abbrev=6 --dirty