release.txt 2.64 KB
Newer Older
Ralph Giles's avatar
Ralph Giles committed
1
2
3
4
5
6
7
8
9
10
11
12
13
= Release checklist =

Source release:

- Update OP_LT_* API versioning in configure.ac.
- Check for uncommitted changes to master.
- Tag the release commit with 'git tag -s vN.M'.
 - Include release notes in the tag annotation.
- Verify 'make distcheck' produces a tarball with
  the desired name.
- Push tag to public repo.
- Upload source packge 'opusfile-${version}.tar.gz'
  to website and verify file permissions.
14
- Update checksum files on website.
15
16
- Update links on <https://www.opus-codec.org/downloads/>.
- Add a copy of the documentation to <https://www.opus-codec.org/docs/>
17
  and update the links.
18
19
20

Releases are commited to https://svn.xiph.org/releases/opus/
which propagates to downloads.xiph.org, and copied manually
21
to https://archive.mozilla.org/pub/opus/
Ralph Giles's avatar
Ralph Giles committed
22
23
24
25

Win32 binaries:

- Assuming the mingw cross toolchain:
26
27
28
29
- rust make -C mingw
  - Downloads versions of libogg, opus, openssl.
  - Compiles them.
  - Compiles opusfile and examples against the built deps.
Ralph Giles's avatar
Ralph Giles committed
30
31
32
33
34
35
36
37
38
- mkdir opusfile-${version}-win32
- Copy AUTHORS COPYING README.txt include/opusfile.h to the release dir.
- Merge changes between README.txt and the version in the last
  binary release. E.g. it's good to include versions of the dependencies,
  release notes, etc.
- Convert README.txt to DOS line endings.
- Copy .libs/libopusfile-0.dll to the release dir.
- Copy .libs/libopusfile.a to the release dir.
- Copy .libs/libopusfile.dll.a to the release dir. (May not be needed?)
Ralph Giles's avatar
Ralph Giles committed
39
- Copy ./lib/libopusurl-0.dll, etc. to the release dir.
40
- Copy ./bin/*.ddl to the release dir for dependencies.
41
- Copy any other dependent dlls, e.g. on Fedora 23 I needed to copy
42
    /usr/i686-w64-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll
43
    /usr/i686-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll
Ralph Giles's avatar
Ralph Giles committed
44
- Copy doc/latex/refman.pdf to opusfile-${version}-win32/opusfile-${version}.pdf
Ralph Giles's avatar
Ralph Giles committed
45
46
47
48
- Copy examples/.libs/*.exe to the release dir.
- Strip *.dll *.a *.exe in the release dir.
- In the release dir, run:
    sha1sum * > SHA1SUMS.txt
Ralph Giles's avatar
Ralph Giles committed
49
    gpg --detach-sign --armor SHA1SUMS.txt
Ralph Giles's avatar
Ralph Giles committed
50
51
52
53
54
55
56
- In the parent directory, create the archive:
    zip -r opusfile-${version}-win32.zip opusfile-${version}-win32/*
- Copy the archive to a clean system and verify the examples work
  to make sure you've included all the necessary libraries.
- Upload the archive zipfile to websites.
- Verify file permissions and that it's available at the expected
  URL.
57
- Update links on <http://www.opus-codec.org/downloads/>.
58
59
- Add doc/latex/refman as docs/opusfile_api-${version}.pdf on opus-codec.org
- Add doc/html as docs/opusfile_api-${version} on opus-codec.org
60

61
62
Binary releases are copied manually to s3 to appear at
https://archive.mozilla.org/pub/mozilla.org/opus/win32/