Skip to content

Commit

Permalink
feat: Add print_info for tag options
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Jan 12, 2020
1 parent 58f6904 commit 0f98ab4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ else
fi

if [[ -n "${INPUT_TAGNAME}" ]]; then
print_info "Tag name: ${INPUT_TAGNAME}"
if [[ -n "${INPUT_TAGMESSAGE}" ]]; then
print_info "Tag message: ${INPUT_TAGMESSAGE}"
git tag "${INPUT_TAGNAME}" -m "${INPUT_TAGMESSAGE}"
else
git tag "${INPUT_TAGNAME}"
Expand Down

0 comments on commit 0f98ab4

Please sign in to comment.