Fix versioning script
This commit is contained in:
parent
e49a1b008d
commit
137ac855eb
4
version
4
version
|
@ -12,9 +12,9 @@ for (const f of ["Cargo.toml", "nodejs/native/Cargo.toml"]) {
|
|||
}
|
||||
|
||||
for (const f of ["README.md"]) {
|
||||
replaceInFile(f, /^hyperbuild = "\d+\.\d+\.\d+"\s*$/m, `version = "${NEW_VERSION}"`);
|
||||
replaceInFile(f, /^hyperbuild = "\d+\.\d+\.\d+"\s*$/m, `hyperbuild = "${NEW_VERSION}"`);
|
||||
}
|
||||
|
||||
for (const f of ["nodejs/package.json"]) {
|
||||
replaceInFile(f, /^(\s*)"version": "\d+\.\d+\.\d+",\s*$/m, `$1"version": "${NEW_VERSION}"`);
|
||||
replaceInFile(f, /^(\s*)"version": "\d+\.\d+\.\d+",\s*$/m, `$1"version": "${NEW_VERSION}",`);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue