Skip to content

Commit

Permalink
Print actual tag to be used when using with_v
Browse files Browse the repository at this point in the history
The logs from the tag run don't show the actual tag to be used if the
`with_v` option is set. This fixes that.

Signed-off-by: Juan Antonio Osorio <juan.osoriorobles@eu.equinix.com>
  • Loading branch information
JAORMX committed Sep 28, 2022
1 parent 5880022 commit 13b26cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ then
fi
part="pre-$part"
else
echo -e "Bumping tag $tag. New tag ${new}"
if $with_v
then
new="v$new"
fi
echo -e "Bumping tag ${tag}. New tag ${new}"
fi

# as defined in readme if CUSTOM_TAG is used any semver calculations are irrelevant.
Expand Down

0 comments on commit 13b26cb

Please sign in to comment.