Skip to content

Commit

Permalink
lint: Improve location of the definition of the git log command opt…
Browse files Browse the repository at this point in the history
…ions

Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
  • Loading branch information
brlin-tw committed Nov 26, 2023
1 parent 14a2d44 commit a47d779
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions continuous-integration/generate-release-description.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down Expand Up @@ -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[@]}" \
Expand Down

0 comments on commit a47d779

Please sign in to comment.