Skip to content

Commit c3d50b9

Browse files
Describe the git subtree process
1 parent c7ee540 commit c3d50b9

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,3 +416,15 @@ To publish local snapshots of the project:
416416
```shell
417417
./gradlew -DskipSigning publishToMavenLocal
418418
```
419+
420+
To update the [`proto`](https://github.com/restatedev/proto/) git subtree:
421+
422+
```shell
423+
git subtree pull --prefix sdk-common/src/main/proto/ git@github.com:restatedev/proto.git main --squash
424+
```
425+
426+
To update the [`service-protocol`] git subtree:
427+
428+
```shell
429+
git subtree pull --prefix sdk-core/src/main/service-protocol/ git@github.com:restatedev/service-protocol.git main --squash
430+
```

development/release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
To release sdk-java:
44

5+
* First make sure `service-protocol` and `proto` subtrees are updated to the latest version. See the main [README.md](../README.md#contributing-to-the-sdk)
56
* Change the version to the desired version using the [Bump version workflow](https://github.com/restatedev/sdk-java/actions/workflows/bump.yaml).
67
* Merge the auto generated PR
78
* Wait for CI on main to execute the release

0 commit comments

Comments
 (0)