Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
5759 Näkymät

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
maalisk. 24
5352
1
lokak. 23
3639
2
jouluk. 21
7615
1
elok. 21
2755
4
jouluk. 18
8659