Skip to content

Commit 100c039

Browse files
authored
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
1 parent 568d60d commit 100c039

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/client/.release-it.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,13 @@
99
"commitMessage": "Release ${tagName}",
1010
"tagAnnotation": "Release ${tagName}",
1111
"commitArgs": "--all"
12+
},
13+
"plugins": {
14+
"@release-it/bumper": {
15+
"out": {
16+
"file": "dist/package.json",
17+
"path": "version"
18+
}
19+
}
1220
}
1321
}

0 commit comments

Comments
 (0)