Skip to content

Commit

Permalink
Wrap changelog entry in codeblock
Browse files Browse the repository at this point in the history
  • Loading branch information
Deraen committed Mar 2, 2019
1 parent b2780c5 commit c55c1ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion update-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ regex='https://github.com/([^/]*)/([^/]*)'

changelog=$(curl -sS "https://raw.githubusercontent.com/$organisation/$name/master/CHANGELOG.md" | sed "/^## $new_version/,/^## .*/!d;//d")

message="Update $name to $new_version\n\n## $old_version => $new_version\n$changelog"
# Wrap changelog in codeblock to disable github references to authors or issues/prs
message="Update $name to $new_version\n\n## $old_version => $new_version\n\`\`\`$changelog\n\`\`\`"

# FIXME: Need way to automatically accept changed checksums
boot package
Expand Down

0 comments on commit c55c1ff

Please sign in to comment.