Skip to content

Commit c3d84ac

Browse files
Add documentation to update buf.lock
1 parent e033b2f commit c3d84ac

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ Launch a sample program (requires no build)
109109
npm run example
110110
```
111111

112+
### Update the proto descriptors
113+
114+
```shell
115+
npm run proto
116+
```
117+
112118
### Testing end-to-end with Restate Runtime
113119

114120
This requires the [Docker Engine](https://docs.docker.com/engine/install/) to launch the Restate runtime for testing.
@@ -135,6 +141,10 @@ curl -X POST http://localhost:8080/greeter/greet -H 'content-type: application/j
135141

136142
# Releasing the package
137143

144+
## Pre-release
145+
146+
Before release, make sure the `buf.lock` of the proto descriptors is updated. See [Update the proto descriptors](#update-the-proto-descriptors).
147+
138148
## Releasing via release-it
139149

140150
Releasing a new npm package from this repo requires:

0 commit comments

Comments
 (0)