basho/rebar — pull request #224 by bipthelin (2012-05-09 11:48:33+00:00)
Title: When generating a release rebar should expand VCS version in the top directory (git)

When a VCS tag is present in the reltool.config file, rebar tries
to expand it. However, it does so in the rel/ directory, which
(at least for git) may not reveal the latest version.

This patch tries to adress this by running "git describe --always --tags" if it's being run in the rel directory.