Skip to content

Commit

Permalink
Merge pull request #203 from jamshale/release-improvements
Browse files Browse the repository at this point in the history
Improve release notes formatting
  • Loading branch information
jamshale authored Apr 30, 2024
2 parents ac7a170 + 2dcef29 commit 7e11115
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-release-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -317,14 +317,14 @@ jobs:
# Update the release notes with the upgraded plugins
details=$(printf 'Plugins upgraded this release: \\n\\t\\t - ')
details=$(printf 'Plugins upgraded this release: \n\t\t - ')
plugin_count=${#upgraded_plugins[@]}
for i in $(seq 0 "$(("$plugin_count" - 2))" );
do
details=$(printf '%s %s \\n\\t\\t - ' "$details" "${upgraded_plugins[$i]}")
details=$(printf '%s %s \n\t\t - ' "$details" "${upgraded_plugins[$i]}")
done
details=$(printf '%s %s \\n' "$details" "${upgraded_plugins[-1]}")
details=$(printf '%s %s \n' "$details" "${upgraded_plugins[-1]}")
# Replace the first occurence of ' - ' with the details
Expand Down

0 comments on commit 7e11115

Please sign in to comment.