1
0
mirror of https://github.com/redis/node-redis.git synced 2025-12-11 09:22:35 +03:00

fix(release): bump dist/package.json version (#3125)

Currently, the release process incorrectly leaves the dist/package.json's version
to be the old version. This in turn makes the client setinfo lib-ver command to
send wrong version to redis.
Fix: use the release-it/bumper package to update dist/package.json with the
correct version upon release.

fixes: #3118
This commit is contained in:
Nikolay Karadzhov
2025-11-04 10:25:27 +02:00
committed by GitHub
parent 568d60dbaa
commit 100c0394dc

View File

@@ -9,5 +9,13 @@
"commitMessage": "Release ${tagName}",
"tagAnnotation": "Release ${tagName}",
"commitArgs": "--all"
},
"plugins": {
"@release-it/bumper": {
"out": {
"file": "dist/package.json",
"path": "version"
}
}
}
}