summaryrefslogtreecommitdiff
path: root/RELEASING.md
blob: 1886e6bdb2e5aaa5100b6311196c50be24e7d7b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Release process

## Update the code

Follow the instructions in `UPDATING.md` to update the code.

## Update the package version

If there is no API breakage, update the minor version (X.y -> X.y+1). If there
is API breakage, update the major version (X.y -> X+1.0).

## Make sure builds are successful on all platforms

There is CI for `x86_64` and `aarch64` builds, but 32-bit ARM and MIPS builds
need manual verfification (or testing downstream).

## Tag the release

Tag the release with:

```sh
git tag -s -m 'WebRTC AudioProcessing v<X.y>' v<X.y>
```

## Make a tarball

```sh
git archive --format 'tar.gz' \
  --prefix 'webrtc-audio-processing-X.y/' -9 vX.y \
  > webrtc-audio-processing-X.y.tar.gz
```

## Do a test build

```sh
tar xvf webrtc-audio-processing-X.y.tar.gz
cd webrtc-audio-processing-X.y
meson . build -Dprefix=$PWD/install
ninja -C build
ninja -C build install
cd ..
```

## Checksum the tarball

```sh
sha256sum webrtc-audio-processing-X.y.tar.gz \
  > webrtc-audio-processing-X.y.tar.gz.sha256
```

## Publish the files

```sh
scp webrtc-audio-processing-*.tar.* \
  annarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/pulseaudio/webrtc-audio-processing/
```

## Push the tag

```sh
git push origin master
git push origin vX.y
```

## Update the website

This is currently an embarrassing manual process.

## Send out a release announcement

This goes to the `pulseaudio-discuss` and `gstreamer-devel` mailing lists, and
possibly `discuss-webrtc` if it seems relevant.