From dbdd0631f12893b9eb800fa2082eb8886d8d5aca Mon Sep 17 00:00:00 2001 From: Bryan Paxton Date: Fri, 27 Jan 2023 20:29:40 -0600 Subject: [PATCH] Fix duplicate prompts and output for pushing tags in cut --- src/rebar3_hex_cut.erl | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/src/rebar3_hex_cut.erl b/src/rebar3_hex_cut.erl index 38edee5..902aa00 100644 --- a/src/rebar3_hex_cut.erl +++ b/src/rebar3_hex_cut.erl @@ -1,17 +1,17 @@ -%% @doc `rebar3 hex cut' - Publish with git tag and version bump features +%% @doc `rebar3 hex cut' - Publish with git tag and version bump features %% %% Increments tags and publishes. %% -%% Incrementing and tagging are both optional features of this provider. +%% Incrementing and tagging are both optional features of this provider. %% %% By default you'll be prompted what type of increment to make to the version or it can be supplied as an argument to -%% the command `-i', `--increment' switch. +%% the command `-i', `--increment' switch. %% %% `cut' will also optionally create version bump commit, create a tag with a name corresponding to the new version, and -%% prompt you if you'd like to push the tag up to your git repository. +%% prompt you if you'd like to push the tag up to your git repository. %% -%% -%% Below is a full example of `cut' in action : +%% +%% Below is a full example of `cut' in action : %% %% ``` %% rebar3 hex cut @@ -53,15 +53,15 @@ %% Push new tag to origin? ("Y")> %% ===> Pushing new tag v0.1.4... %% ''' -%% +%% %%