Commit ff51f6b
committed
chore: source docs version from package.json, not npm view
bump-docs.cjs read the version from `npm view fuse.js version` (the
latest published version). The release flow runs `npm run docs:bump`
before `npm publish`, so it saw the previous version and bumped the docs
one release behind (hit on 7.4.1). Read from the local package.json,
which standard-version bumps before the docs step, so it reflects the
version being cut. Also drops the network call and child_process use.1 parent 08b77d9 commit ff51f6b
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
0 commit comments