تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5462 أدوات العرض

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
مارس 24
4508
1
أكتوبر 23
2629
2
ديسمبر 21
7001
1
أغسطس 21
2328
4
ديسمبر 18
8187