mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-06 06:29:24 +00:00
Update validation regex and bump to 1.4.1
This commit is contained in:
parent
0e28ff86a5
commit
95e6f30a60
5 changed files with 8 additions and 4 deletions
|
|
@ -50,7 +50,7 @@ const calculateChecksum = (body, i) => {
|
|||
};
|
||||
|
||||
const getVersion = (body) => {
|
||||
const regex = /VERSION="(.*)+"/g;
|
||||
const regex = /VERSION="([\d\.]+)"/g;
|
||||
const match = regex.exec(body);
|
||||
return match ? match[1] : null;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue