how to package my git repo and publish to my launchpad ppa
Solution 1:
It turns out to be very simple
cd ~/workspace/logger
git tag v1.0
git checkout -b ubuntu/xenial
mkdir debian
cd debian
vi changelog
vi control
vi rules
vi liblogger-dev.dirs
vi liblogger-dev.install
vi liblogger1.dirs
vi liblogger1.install
mkdir source
vi source/format
vi compat
cd ..
git add debian
git commit -a -m "packed from git"
# Check if full build works (so we don't upload a broken source package)
gbp buildpackage --git-upstream-tag='v1.0' --git-debian-branch=ubuntu/xenial
# Build source package
debuild -S -sa
# Upload source package to ppa
dput ppa:satyagowtham-k-gmail/ferryfair.ppa ../logger_1.0-0ubuntu1_source.changes
that is all.