Skip to content

Commit f185846

Browse files
authored
doc: remember to tag wasi-libc during a release (#374)
This change documents a final step called out in [wasi-libc#461]: tag the wasi-libc repository with the same wasi-sdk version tag. [wasi-libc#461]: WebAssembly/wasi-libc#461
1 parent 8f465de commit f185846

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

RELEASING.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,24 @@ To publish a new version of `wasi-sdk` as a GitHub release:
4646
following script simplifies the uploading of all the files and auto-generates
4747
the release description:
4848

49-
```shell script
50-
ci/draft-release.sh $TAG $ARTIFACTS_DIR $GITHUB_TOKEN
51-
```
49+
```shell script
50+
ci/draft-release.sh $TAG $ARTIFACTS_DIR $GITHUB_TOKEN
51+
```
5252

5353
[releases]: https://github.com/WebAssembly/wasi-sdk/releases
5454

5555
6. Publish the release; the previous step only creates a draft. Follow the link
5656
in the previous step or navigate to the GitHub [releases] to review the
57-
description, commit, tag, and assets before clicking "Publish"
57+
description, commit, tag, and assets before clicking "Publish."
58+
59+
7. Remember to tag the wasi-libc repository with the new `$TAG` version.
60+
61+
```shell script
62+
git submodule status -- src/wasi-libc # grab $WASI_LIBC_COMMIT from the output
63+
cd $WASI_LIBC_REPO_DIR
64+
git tag $TAG $WASI_LIBC_COMMIT
65+
git push origin $TAG
66+
```
5867

5968
[^cache]: Here is an example of how to clear a cache with the GitHub CLI:
6069

0 commit comments

Comments
 (0)