Closed tsloughter closed 4 years ago
Currently getting a version based on git tags uses the command, Tag = os:cmd("git describe --abbrev=0 --tags"), which can fail if there are no tags.
Tag = os:cmd("git describe --abbrev=0 --tags"),
Rebar3 handles this by using a port and returning an error so it can fall back to 0.0.0 as the version. Relx needs to do the same.
0.0.0
Fixed in master.
Currently getting a version based on git tags uses the command,
Tag = os:cmd("git describe --abbrev=0 --tags"),
which can fail if there are no tags.Rebar3 handles this by using a port and returning an error so it can fall back to
0.0.0
as the version. Relx needs to do the same.