Release Howto
-
Build for linux and windows (currently done using jenkins)
-
Run coverity checks (triggered by jenkins) and fix any issues
-
Run regression tests (currently done using jenkins)
-
Tag and branch
$> git tag -a 1.3.0 -m "version 1.3.0 (4 June 2015)"
$> git push --tags origin master
$> git push --tags videolan master
$> git checkout -t -b branch/1.3.0-bugfix master
$> git push origin branch/1.3.0-bugfix:branch/1.3.0-bugfix
$> git push videolan branch/1.3.0-bugfix:branch/1.3.0-bugfix
- Prepare release tarballs
$> make dist
$> make dist-checksum
$> md5sum --check libdvbpsi-${version}.tar.bz2.md5 libdvbpsi-${version}.tar.gz.md5
libdvbpsi-${version}.tar.bz2: OK
libdvbpsi-${version}.tar.gz: OK
$> sha256sum --check libdvbpsi-${version}.tar.bz2.sha256 libdvbpsi-${version}.tar.gz.sha256
libdvbpsi-${version}.tar.bz2: OK
libdvbpsi-${version}.tar.gz: OK
- Test rpm specfile
$> rpmbuild -ta libdvbpsi-${version}.tar.gz
- Add release signature
$> rpm --addsign ${HOME}/Source/rpm/RPMS/x86_64/libdvbpsi-1.3.0-2.x86_64.rpm ${HOME}/Source/rpm/RPMS/x86_64/libdvbpsi-devel-1.3.0-2.x86_64.rpm ${HOME}/Source/rpm/RPMS/x86_64/libdvbpsi-debuginfo-1.3.0-2.x86_64.rpm
- Install rpms locally with yum or dnf to test
$> sudo yum localinstall ${HOME}/Source/rpm/RPMS/x86_64/libdvbpsi-1.3.0-2.x86_64.rpm ${HOME}/Source/rpm/RPMS/x86_64/libdvbpsi-devel-1.3.0-2.x86_64.rpm ${HOME}/Source/rpm/RPMS/x86_64/libdvbpsi-debuginfo-1.3.0-2.x86_64.rpm
-
Rebuild a recent VLC version and test
-
Upload tarballs and checksum files to incoming and answer the questions
$> ftp://ftp.videolan.org/incoming/
Name (ftp.videolan.org:jpsaman): anonymous
331 Anonymous login ok, send your complete email address as your password
Password:
230 Anonymous access granted, restrictions apply
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd incoming
ftp> mput libdvbpsi-{version}.tar.*
-
Move files to correct place under libdvbpsi/${version}
-
Update the libdvbpsi page on videolan website
-
Mention release on Freecode.net (obsolete, freecode has shutdown)
-
Send release announcement to libdvbpsi, vlc-devel videolan mailinglists