开发者

Maven release bug fix versioning

开发者 https://www.devze.com 2023-01-02 09:44 出处:网络
I\'m getting ready to deploy the first release of our software, version 1.0. Once it\'s out to our customer, inevitably, some bugs will be found. When I fix those bugs though, I\'m not sure what \"bes

I'm getting ready to deploy the first release of our software, version 1.0. Once it's out to our customer, inevitably, some bugs will be found. When I fix those bugs though, I'm not sure what "best practice" is for versioning it. When I release the fixes, would that be an entirely new version 开发者_C百科(in maven), such as 1.01 (or whatever the increment is, 1.1 for example)? Or would it still be 1.0 with some sort of classifier (maybe a date tag)?

Thanks, Jeff


Wikipedia has a surprisingly thorough discussion of software versioning. It covers all the major points and discusses most of the approaches I've seen.

(In your specific case I'd go with 1.0.1 which would generally be regarded as "an update to 1.0 with no significant feature additions")


You have to change the number in order for maven clients to recognize a newer version in the repository. The change is up to you. I'm sure there's a best practice document somewhere but my company dictates the numbers we use so I've never looked for one.

0

精彩评论

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