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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/21/15, 4:14 PM|
|Seen: 819 times|
|Last updated: 3/21/15, 4:14 PM|