This is a helper script I use on my Ubuntu VM to release pam_panic from github. You need to have one previous release to use it, where it will get the debian directory from.
You need to set the
After that you just run
./launchpad-release [ VERSION NUMBER YOU HAVE TAGGED, RELEASED AND SIGNED ].