rust-lang / promote-release

Tooling to publish Rust releases.
Apache License 2.0
18 stars 13 forks source link

Fix src/version parent finding #50

Closed Mark-Simulacrum closed 2 years ago

Mark-Simulacrum commented 2 years ago

GitHub doesn't return merge commits when searching by changed file path, so our previous logic was finding the human-authored commit rather than the bors merge commit. New logic looks for the first bors commit which has the last human commit changing src/version, which should hopefully work here.

Fixes #49