@@ -41,7 +41,7 @@ main(Args) ->
4141 {ok, RequiredData} = gather_required_data_from_the_environment(ArgData),
4242 do_the_bootstrap(RequiredData).
4343
44−%% @doc There are two modes 'registery_only' where the register is
44+%% @doc There are two modes 'registry_only' where the register is
4545%% created from hex and everything else.
4646-spec do_the_bootstrap(#data{}) -> ok.
4747do_the_bootstrap(RequiredData = #data{registry_only = true}) ->
@@ -55,7 +55,7 @@ do_the_bootstrap(RequiredData) ->
5555%% @doc
5656%% Argument parsing is super simple only because we want to keep the
5757%% dependencies minimal. For now there can be two entries on the
58−%% command line, "registery-only" and "debug-info"
58+%% command line, "registry-only" and "debug-info"
5959-spec parse_args([string()]) -> #data{}.
6060parse_args(Args0) ->
6161 PossibleArgs = sets:from_list(["registry-only", "debug-info"]),
@@ -146,13 +146,14 @@ make_symlink(Path, TargetFile) ->
146146
147147%% @doc
148148%% This takes an app name in the standard OTP <name>-<version> format
149−%% and returns just the app name. Why? because rebar is doesn't
149+%% and returns just the app name. Why? because rebar doesn't
150150%% respect OTP conventions in some cases.
151151-spec fixup_app_name(string()) -> string().
152152fixup_app_name(FileName) ->
153153 case string:tokens(FileName, "-") of
154154 [Name] -> Name;
155− [Name, _Version] -> Name
155+ [Name, _Version] -> Name;
156+ [Name, _Version, _Tag] -> Name
156157 end.
157158
158159-spec bootstrap_registry(#data{}) -> ok.