Bits from https://wiki.debian.org/PackagingWithGit#Importing_upstream_as_tarballs

`make dist` first or grab that tarball from the release page on GitHub.

TODO: Find what's needed in ~./gbp.conf


git clean -fd
git checkout Makefile.am
gbp import-orig ../sentrypeer-4.0.3.tar.gz -u 4.0.3 --upstream-branch=upstream/latest --debian-branch=debian/latest
gbp buildpackage --git-debian-branch=debian/latest
gbp buildpackage --git-debian-branch=debian/latest --git-tag
git push --tags


Checking builds:

All the steps to test - https://wiki.debian.org/PhilWyett/DebianMentoring

1. sudo reprotest --vary=-build_path,domain_host.use_sudo=1 --auto-build ../sentrypeer_4.0.3-2.dsc -- schroot unstable-amd64-sbuild
2. sudo pbuilder build ../sentrypeer_4.0.3-2.dsc
3. sudo pbuilder build --twice ../sentrypeer_4.0.3-2.dsc
4. sudo mount -o remount,size=5G /dev/shm
5. sbuild -d unstable --enable-network sentrypeer_4.0.3-2.dsc