Skip to content

Commit

Permalink
Merge #91
Browse files Browse the repository at this point in the history
91: Add a link to the GitHub diff r=DilumAluthge a=DilumAluthge

Fixes #90 

Co-authored-by: Dilum Aluthge <[email protected]>
  • Loading branch information
bors[bot] and DilumAluthge authored Feb 5, 2023
2 parents 472c7c8 + 9952ad0 commit 7c62069
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bump-stdlibs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ function _bump_single_stdlib(stdlib::StdlibInfo, config::Config, state::State)
bumpstdlibs_sender_ping = isempty(bumpstdlibs_sender) ? "unknown user" : "@$(bumpstdlibs_sender)"
julia_version = Base.VersionNumber(read("VERSION", String))
version_match = stdlib_version isa VersionNumber && Base.thispatch(julia_version) === Base.thispatch(stdlib_version)
url_for_diff = chopsuffix(git_url_markdown, ".git")
pr_body_lines = String[
"Stdlib: $(stdlib.name)",
"URL: $(git_url_markdown)",
Expand All @@ -154,6 +155,8 @@ function _bump_single_stdlib(stdlib::StdlibInfo, config::Config, state::State)
"Bump invoked by: $(bumpstdlibs_sender_ping)",
"Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)",
"",
"Diff: $(url_for_diff)/compare/$(stdlib_current_commit_in_upstream)...$(stdlib_latest_commit)",
"",
"```",
"\$ $(strip(string(changelog_cmd), '`'))",
changelog,
Expand Down

0 comments on commit 7c62069

Please sign in to comment.