Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
6115 Visualizzazioni

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
mar 24
6004
1
ott 23
4494
2
dic 21
8177
1
ago 21
3155
4
dic 18
9026