First, let's find out what people say about packaging:
- Revisiting How We Put Together Linux Systems by Pid Eins
Second, look at the existing packaging systems:
Future is bright, as for now, here are my solutions:
$ git tag v1.0.0
$ git push --tags
It'll publish a new package.
$ do nothing
It'll check upstream version changes every day and publish a new package.
- For Arch Linux, read [Arch Linux Automatic Packaging Guide](https://github.com/gutenye/gutpackaging/blob/master/Arch Linux Automatic Packaging Guide.md)
- For Debian/Ubuntu, read [Debian Automatic Packaging Guide](https://github.com/gutenye/gutpackaging/blob/master/Debian Automatic Packaging Guide.md)
Also read wiki for more information.