How to release
- Update
debian/changelog
(example) - Commit your changes (example)
-
If there is a new upstream release, use git build package in order to update
master
,pristine-tar
andupstream
branches:$ gbp import-orig ../releases/bip-0.9.2.tar.gz -u 0.9.2 --upstream-branch=upstream gbp:info: Importing '../releases/bip-0.9.2.tar.gz' to branch 'upstream'... gbp:info: Source package is bip gbp:info: Upstream version is 0.9.2 gbp:info: Replacing upstream source on 'master' gbp:info: Successfully imported version 0.9.2 of ../bip_0.9.2.orig.tar.gz
- Run Lintian in order to test your changes, for example using
sbuild
as non-root user:$ sbuild-createchroot --chroot-mode=unshare --chroot-suffix=-sbuild-dev --make-sbuild-tarball ~/.cache/sbuild/unstable-amd64.tar.gz unstable `mktemp -d` http://deb.debian.org/debian/ $ sbuild --chroot-mode=unshare -c unstable-amd64 .
- If the previous test is successful, push the
master
branch. -
If there is a new upstream release, push
pristine-tar
andupstream
branches too. - Check the CI state
- The status should be
passed
. - Check the Lintian messages (list of Lintian tags) of the
Lintian
job (look forlintian --version
). These messages aren't highlighted.
- The status should be
- Gently ping @duck
😃