Is there a standard way I could use to, for example when I execute "git tag" inject the name of the tag, or a composed name using the commit, (tag+'.'+commit) into the __openerp__.py code?
Obviously I could write a script, but wanted to know if there is some kind of good practice also.
This would be useful to change the modules version, keeping track of the eventual tag or commit.