doc: Update tarball generation process

Use meson dist, include subproject tarballs, and sha256sum files are
also autogenerated.
This commit is contained in:
Arun Raghavan 2023-05-25 18:21:13 -04:00
parent cdec109331
commit c76b8bf340

View File

@ -25,15 +25,14 @@ git tag -s -m 'WebRTC AudioProcessing v<X.y>' v<X.y>
## Make a tarball ## Make a tarball
```sh ```sh
git archive --format 'tar.gz' \ # The output will be in build/meson-dist/
--prefix 'webrtc-audio-processing-X.y/' -9 vX.y \ meson dist -C build --formats=gztar,xztar --include-subprojects
> webrtc-audio-processing-X.y.tar.gz
``` ```
## Do a test build ## Do a test build
```sh ```sh
tar xvf webrtc-audio-processing-X.y.tar.gz tar xvf webrtc-audio-processing-X.y.tar.xz
cd webrtc-audio-processing-X.y cd webrtc-audio-processing-X.y
meson . build -Dprefix=$PWD/install meson . build -Dprefix=$PWD/install
ninja -C build ninja -C build
@ -41,13 +40,6 @@ ninja -C build install
cd .. cd ..
``` ```
## Checksum the tarball
```sh
sha256sum webrtc-audio-processing-X.y.tar.gz \
> webrtc-audio-processing-X.y.tar.gz.sha256
```
## Publish the files ## Publish the files
```sh ```sh