Skip to content

Commit 29386c7

Browse files
authored
Merge pull request #342 from codecov/1.5.2
fix: Import version properly as string not object
2 parents fbeda37 + 5249706 commit 29386c7

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.5.2
2+
### Fixes
3+
- # fix: Import version properly as string not object
4+
15
## 1.5.1
26
### Fixes
37
- #320 doc: add github actions badge

dist/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ function onceStrict (fn) {
11091109
"use strict";
11101110

11111111
exports.__esModule = true;
1112-
var VERSION = 'v1.5.0';
1112+
var VERSION = 'v1.5.2';
11131113
exports["default"] = VERSION;
11141114

11151115

@@ -7188,7 +7188,7 @@ exports.checkBypass = checkBypass;
71887188
exports.__esModule = true;
71897189
var core = __webpack_require__(470);
71907190
var github = __webpack_require__(469);
7191-
var VERSION = __webpack_require__(52);
7191+
var version_1 = __webpack_require__(52);
71927192
var context = github.context;
71937193
var isTrue = function (variable) {
71947194
var lowercase = variable.toLowerCase();
@@ -7233,7 +7233,7 @@ var buildExec = function () {
72337233
var filepath = workingDir ?
72347234
workingDir + '/codecov.sh' : 'codecov.sh';
72357235
var execArgs = [filepath];
7236-
execArgs.push('-n', "" + name, '-F', "" + flags, '-Q', "github-action-" + VERSION);
7236+
execArgs.push('-n', "" + name, '-F', "" + flags, '-Q', "github-action-" + version_1["default"]);
72377237
var options = {};
72387238
options.env = Object.assign(process.env, {
72397239
GITHUB_ACTION: process.env.GITHUB_ACTION,

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codecov-action",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"description": "Upload coverage reports to Codecov from GitHub Actions",
55
"main": "index.js",
66
"scripts": {

src/buildExec.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import buildExec from './buildExec';
22
const github = require('@actions/github');
33

4-
const VERSION = require('./version');
4+
import VERSION from './version';
55

66
const context = github.context;
77

src/buildExec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const core = require('@actions/core');
22
const github = require('@actions/github');
33

4-
const VERSION = require('./version');
4+
import VERSION from './version';
55

66
const context = github.context;
77

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
const VERSION = 'v1.5.0';
1+
const VERSION = 'v1.5.2';
22

33
export default VERSION;

0 commit comments

Comments
 (0)