开发者

Is revision really random

开发者 https://www.devze.com 2023-02-10 23:34 出处:网络
For assembleinfo when you set the revision to asterisk the documentation says the revision is random.This is a problem because I don\'t want a lower revision number on a build that was build twice 开发

For assembleinfo when you set the revision to asterisk the documentation says the revision is random. This is a problem because I don't want a lower revision number on a build that was build twice 开发者_运维技巧in one day.

Is it really time based or random?


You are at the mercy of this default behavior. But I would suggest that you make your version numbers based off your SCM revision number. There are many articles on the net about how to do this. It has a lot of advantages, the most obvious being able to checkout the exact revision of code that corresponds to a given binary.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号