Fix argument for iolist_to_binary call
This commit is contained in:
parent
888be01dfe
commit
449051bcd6
2 changed files with 83 additions and 11 deletions
|
@ -70,7 +70,7 @@ strip_leading_v(Vsn) ->
|
|||
-spec find_vsn_from_start_of_branch(string()) -> string().
|
||||
find_vsn_from_start_of_branch(RefTag) ->
|
||||
Count = do_cmd("git rev-list HEAD --count"),
|
||||
erlang:iolist_to_binary("0.0.0+build.", Count, ".ref.", RefTag).
|
||||
erlang:iolist_to_binary(["0.0.0+build.", Count, ".ref.", RefTag]).
|
||||
|
||||
do_cmd(Cmd) ->
|
||||
trim_whitespace(os:cmd(Cmd)).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue