コンテンツへスキップ
メニュー
この質問にフラグが付けられました
5753 ビュー

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.

アバター
破棄
関連投稿 返信 ビュー 活動
3
3月 24
5342
1
10月 23
3635
2
12月 21
7614
1
8月 21
2755
4
12月 18
8657