Azure/CodeCov: Remove workaround for token-less coverage upload (#13535)

`coverage.sh` used to explicitly specify the commit associated with the
coverage report as a workaround to an issue when uploading without
`CODECOV_TOKEN` from a public Azure pipeline[1]. The workaround is not
required anymore as the uploads now succeeds with the default settings.

The upload to CodeCov probably broke because `$BUILD_SOURCEVERSION` now
points to a local merge commit (PR branch => target branch).

[1] https://github.com/codecov/codecov-bash/issues/287
This commit is contained in:
Florian 2022-02-17 14:19:47 +01:00 committed by GitHub
parent 380f9d83ae
commit a06e8f7909
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,9 +30,6 @@ UPLOADER_ARGS=""
case "$UPLOADER_OS" in
windows)
# -C workaround proposed in https://github.com/codecov/codecov-bash/issues/287
UPLOADER_ARGS="-C \"$BUILD_SOURCEVERSION\""
UPLOADER="$UPLOADER.exe"
;;