"Unable to find commit in GitHub" due to recent changes in bash uploader

Please check the troubleshooting guide before creating a ticket.
All fields below are required.

Description

“Unable to find commit in GitHub” due to recent changes in bash uploader

Commit SHAs

N/A

Repository

N/A

CI/CD or Build URL

Jenkins

Uploader

Bash

Codecov Output

N/A

Expected Results

Prior to https://github.com/codecov/codecov-bash/commit/db2d487a442a77898d464757fde419346c1b0a1f the uploader would adjust the sha reported to be that of our PR branches. Now it just uploads the commit of the branch, which ends up oft being a “local” branch to Jenkins as it is performing a merge with base before building.

Actual Results

Additional Information

It would be nice to have the option to have the code you previously had in play - for now I am working around it by doing the same thing you were doing and passing the commit via -C

@ggerade, is this true for all merge commits for you?