diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rlx_config.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rlx_config.erl b/src/rlx_config.erl index 1f441ed..0ee3543 100644 --- a/src/rlx_config.erl +++ b/src/rlx_config.erl @@ -299,5 +299,8 @@ parse_vsn(Vsn) when Vsn =:= semver ; Vsn =:= "semver" -> parse_vsn({semver, Prefix}) -> {ok, V} = ec_git_vsn:vsn({Prefix}), V; +parse_vsn({cmd, Command}) -> + V = os:cmd(Command), + V; parse_vsn(Vsn) -> Vsn. |