Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

Processing versions in configuration files

Fred Hebert edited this page Oct 23, 2014 · 1 revision

Several configuration files (.app.src, reltool.config) contain version tags that can be replaced by rebar with concrete values.

The version can be specified as follows:

raw Result in processed file
"string" "string" (no processing)
git git describe --always --tags
p4 echo #head
hg hg identify -i
bzr bzr revno
svn svnversion
fossil fossil info
{cmd, Cmd} result of executing Cmd as a script