Permalink
Browse files

added support for messages

  • Loading branch information...
1 parent cf0d4d6 commit 29e45edfb9580f4ad18f896d43d16775a7b13eb0 @gregorej committed Feb 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/rebar_scm_plugin.erl
View
@@ -62,11 +62,11 @@ tag({svn, UrlStr}, Tag) when is_list(UrlStr) ->
"trunk" -> lists:append(lists:sublist(Path, length(Path) - 1), ["tags",Tag]);
_ -> lists:append(Path, ["tags", Tag])
end,
- rebar_utils:sh("svn copy " ++ UrlStr ++ " " ++ as_string({Protocol, TargetPath}), []);
+ rebar_utils:sh(?FMT("svn copy -m ~s ~s ~s", ["Tagging " ++ Tag, UrlStr, as_string({Protocol, TargetPath})]), []);
tag({git, _Url}, Tag) ->
?INFO("Tagging with Git ~s", [Tag]),
- rebar_utils:sh("git tag " ++ Tag);
+ rebar_utils:sh(?FMT("git tag ~s", [Tag]));
tag({Scm, _}, _Tag) ->

0 comments on commit 29e45ed

Please sign in to comment.