Skip to content

Commit

Permalink
hide NOJIRA and HOTFIX when urlprefix exists (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrogerWalt authored Aug 18, 2021
1 parent 1f65d2c commit cbf8c53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ if [[ -z ${message} ]]; then
exit 1
fi

ticketLine="- ${ticket}"
ticketLine=""

if [[ -n ${urlPrefix} ]]; then
case "${ticket}" in
NOJIRA|NoJira|HOTFIX|Hotfix) ;;
*) ticketLine="- [${ticket}](${urlPrefix}${ticket})"
esac
else
ticketLine="- ${ticket}"
fi

change_md="## [${version}] - ${fullDate}
Expand Down

0 comments on commit cbf8c53

Please sign in to comment.