Fix Node.js versioning
This commit is contained in:
parent
0a270f4f70
commit
fde8354461
3 changed files with 7 additions and 3 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# minify-html changelog
|
||||
|
||||
## 0.9.2
|
||||
|
||||
- Fix Node.js dependency version.
|
||||
|
||||
## 0.9.1
|
||||
|
||||
- Fix Node.js postinstall script.
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ minify-html --output /path/to/output.min.html --keep-closing-tags --minify-css /
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
minify-html = { version = "0.9.1" }
|
||||
minify-html = "0.9.1"
|
||||
```
|
||||
|
||||
### Use
|
||||
|
|
|
|||
4
version
4
version
|
|
@ -112,10 +112,10 @@ for (const f of [
|
|||
);
|
||||
}
|
||||
|
||||
for (const f of ["README.md"]) {
|
||||
for (const f of ["README.md", "nodejs/Cargo.toml"]) {
|
||||
replaceInFile(
|
||||
f,
|
||||
/^(minify-html = \{ version = )"\d+\.\d+\.\d+"/m,
|
||||
/^(minify-html = )"\d+\.\d+\.\d+"/m,
|
||||
`$1"${NEW_VERSION}"`
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue