From cbf8c536a55e46a2e7ca2063c848e068eba03057 Mon Sep 17 00:00:00 2001 From: Walt Moorhouse <60402633+KrogerWalt@users.noreply.github.com> Date: Wed, 18 Aug 2021 09:28:37 -0700 Subject: [PATCH] hide NOJIRA and HOTFIX when urlprefix exists (#26) --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 676a354..8e7a291 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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}