Bump to 2.0.2

This commit is contained in:
Tom Hu
2021-07-22 11:21:24 -07:00
parent f2242e1815
commit 6ab08a75e2
6 changed files with 13 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
## 2.0.2
### Fixes
- Underlying uploader fixes issues with tokens not being sent properly for users seeing
`Error!: Error: Error uploading to https://codecov.io: Error: Error uploading to Codecov: Error: Not Found`
## 2.0.1
### Fixes
- #424 fix: Issue in building all deep dependencies

6
dist/index.js vendored
View File

@@ -12849,7 +12849,7 @@ var core = __nccwpck_require__(2186);
// EXTERNAL MODULE: ./node_modules/@actions/github/lib/github.js
var github = __nccwpck_require__(5438);
;// CONCATENATED MODULE: ./package.json
const package_namespaceObject = {"i8":"2.0.1"};
const package_namespaceObject = {"i8":"2.0.2"};
;// CONCATENATED MODULE: ./src/buildExec.ts
@@ -13070,8 +13070,8 @@ const verify = (filename) => __awaiter(void 0, void 0, void 0, function* () {
}).on('end', () => __awaiter(void 0, void 0, void 0, function* () {
const hash = `${uploaderSha.digest('hex')} ${uploaderName}`;
if (hash !== shasum) {
setFailure('Codecov: Uploader shasum does not match ' +
`uploader hash: ${hash}, public hash: ${shasum}`, true);
setFailure('Codecov: Uploader shasum does not match\n' +
`uploader hash: ${hash}\npublic hash: ${shasum}`, true);
}
else {
core.info('==> Uploader SHASUM verified');

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "codecov-action",
"version": "2.0.1",
"version": "2.0.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "codecov-action",
"version": "2.0.1",
"version": "2.0.2",
"description": "Upload coverage reports to Codecov from GitHub Actions",
"main": "index.js",
"scripts": {

View File

@@ -54,8 +54,8 @@ const verify = async (filename: string) => {
const hash = `${uploaderSha.digest('hex')} ${uploaderName}`;
if (hash !== shasum) {
setFailure(
'Codecov: Uploader shasum does not match ' +
`uploader hash: ${hash}, public hash: ${shasum}`,
'Codecov: Uploader shasum does not match\n' +
`uploader hash: ${hash}\npublic hash: ${shasum}`,
true,
);
} else {