Fix Node.js versioning
This commit is contained in:
parent
0a270f4f70
commit
fde8354461
|
@ -1,5 +1,9 @@
|
||||||
# minify-html changelog
|
# minify-html changelog
|
||||||
|
|
||||||
|
## 0.9.2
|
||||||
|
|
||||||
|
- Fix Node.js dependency version.
|
||||||
|
|
||||||
## 0.9.1
|
## 0.9.1
|
||||||
|
|
||||||
- Fix Node.js postinstall script.
|
- Fix Node.js postinstall script.
|
||||||
|
|
|
@ -59,7 +59,7 @@ minify-html --output /path/to/output.min.html --keep-closing-tags --minify-css /
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
minify-html = { version = "0.9.1" }
|
minify-html = "0.9.1"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Use
|
### 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(
|
replaceInFile(
|
||||||
f,
|
f,
|
||||||
/^(minify-html = \{ version = )"\d+\.\d+\.\d+"/m,
|
/^(minify-html = )"\d+\.\d+\.\d+"/m,
|
||||||
`$1"${NEW_VERSION}"`
|
`$1"${NEW_VERSION}"`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue