diff --git a/continuous-integration/generate-release-description.sh b/continuous-integration/generate-release-description.sh index f351098..1b670b4 100755 --- a/continuous-integration/generate-release-description.sh +++ b/continuous-integration/generate-release-description.sh @@ -38,9 +38,6 @@ if ! git_tag_count="$(wc -l <<<"${git_tag_list}")"; then fi detailed_changes_markup="## Detailed changes"$'\n\n' -git_log_opts=( - --format='format:* %s (%h) - %an' -) if test -v CI_COMMIT_TAG; then release_tag="${CI_COMMIT_TAG}" @@ -107,6 +104,9 @@ else "${previous_git_tag}" \ "${release_tag}" \ 1>&2 + git_log_opts=( + --format='format:* %s (%h) - %an' + ) if ! detailed_changes_markup+="$( git log \ "${git_log_opts[@]}" \