I want to run bench-update in my deb definition

As part of our deployment strategy we are planning to create a Debian package of our app. The problem about using a deb file is, how do i then run the bench update to make sure I get all the new stuff particularly new database changes from the deb ? Will calling it at post-install work ?

Any reason to use a .deb package over a git repository?

The JSON files in your app are responsible for the database changes. So you want to first upgrade your app and then run bench update.

Trying to standardize and simplify deployment using puppet.