关注前端开发
关注用户体验

推荐使用的版本号控制方式

经常遇到项目或其中文件变动的版本号控制,下面推荐一种与我们很密切的Windows下的版本控制方式。

主版本号 . 子版本号 [ 修正版本号 [. 编译版本号 ]]
英文对照 : Major_Version_Number.Minor_Version_Number[Revision_Number[.Build_Number]]
示例:1.2.0.1234

版本号管理策略

  • 项目初版,版本号为 1.0 或 1.00;
  • 当项目在进行了局部修改或 bug 修正时,主版本号和子版本号都不变,修正版本号加 1;
  • 当项目在原有的基础上增加了部分功能时,主版本号不变,子版本号加 1,修正版本号复位为 0,因而可以被忽略掉 ;
  • 当项目在进行了重大修改或局部修正累积较多,而导致项目整体发生全局变化时,主版本号加 1;
  • 另外,编译版本号一般是编译器在编译过程中自动生成的,我们只定义其格式,并不进行人为控制 .
  • 另外,还可以在版本号后面加入 Alpha,Beta,Gamma,Current,RC (Release Candidate),Release,Stable 等后缀,在这些后缀后面还可以加入 1 位数字的版本号 .
赞(5)
未经允许不得转载:大前端 » 推荐使用的版本号控制方式
分享到: 更多 (0)

评论 21

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #20

    Aw, this became an extremely good post. In idea I have to set up writing like that additionally – spending time and actual effort to make a great article… but what / things I say… I procrastinate alot through no indicates seem to go completed.

  2. #19

    Yangın kapısı Kapısı, Yangın Merdiveni Kapısı Olarakta Bilinmektedir. Ucuz Yangın Kapısı Firması, Yangın Kapıları İstanbul, Yangın Kapısı Fiyatları en ucuza

  3. #18

    An impressive share, I given this onto a colleague who was conducting a little analysis during this. And the man the truth is bought me breakfast simply because I ran across it for him.. smile. So i want to reword that: Thnx to the treat! But yeah Thnkx for spending time to discuss this, I find myself strongly about this and really like reading more about this topic. When possible, as you grow expertise, does one mind updating your blog with additional details? It truly is highly ideal for me. Massive thumb up with this blog post!

  4. #17

    Music started playing anytime I opened up this web site, so frustrating!

    Linh Stearne1周前 (05-17)回复
  5. #16

    I simply desired to thank you so much yet again. I’m not certain what I would’ve handled without the type of advice shared by you directly on this problem. This was an absolute difficult situation in my view, nevertheless being able to see this professional strategy you solved that forced me to cry with happiness. I will be happy for this support and thus believe you know what a powerful job you were carrying out educating the others all through your website. I’m certain you’ve never met all of us.

    Nonton Anime2周前 (05-10)回复
  6. #15

    Right humans speeches must seat as well as memorialize around the groom and bride. Beginer sound system around rowdy locations should always not forget currently the glowing leadership of a speaking, which is one’s boat. best man speeches brother

    cat products2周前 (05-09)回复
  7. #14

    Hiya, have you ever in your life thought about to create about Nintendo or PS handheld?

    pokerrepublik3周前 (05-04)回复
  8. #13

    freight forwarder seattle – freight forwarder quote online – thailand freight forwarder directory – freight forwarder melbourne – freight forwarder vs carrier

  9. #12

    He stares them down until he gets the information he wants

    Zachery Mcwhorter2个月前 (04-08)回复
  10. #11

    Hello! I could have sworn I’ve visited your blog before but after browsing through some of the articles I realized it’s new to me. Nonetheless, I’m definitely delighted I came across it and I’ll be bookmarking it and checking back often!

    Apex Legends Season 12个月前 (03-31)回复
  11. #10

    Good day”i am doing research right now and your blog really helped me.   

    my singing monsters2个月前 (03-28)回复
  12. #9

    Are not they in a hurry? Do not they want to find the outpost? Need not Kirk get back to the ship? Yet they sit there, having a talk and barbecue around a log fire.

    Cordell Umbaugh2个月前 (03-11)回复
  13. #8

    恍然大悟,我原以为看作者的心情随便定义版本号的,呵呵!

    19dfq5年前 (2014-09-07)回复
  14. #7

    了解了,谢谢楼主

    icafer5年前 (2014-05-20)回复
  15. #6

    非常好,领教了。以前也是这样做的,现在你把它总结的更加细致了,加了编译版本号了,谢谢。

    suangao6年前 (2013-10-30)回复
  16. #5

    版本控制号规划还是要有一个整体思维的, 这个不错, 不过我更喜欢加入项目名缩写符号作为前缀.

    JQiuss6年前 (2013-10-21)回复
  17. #4

    有时会看到主版本为0的情况,比如:0.2.1 这是什么原因呢

    切梦刀6年前 (2013-10-20)回复
    • 这个简单,项目初期,没有完善首期所有功能。

      浩子6年前 (2013-10-21)回复
  18. #3

    对一般人来说只要知道是新版本就可以了。哈哈。号不号的无所谓。

    wmtimes6年前 (2013-10-12)回复
  19. #2

    wordpress好强大啊!版本控制方式的确不错!

    91模板6年前 (2013-10-12)回复
  20. #1

    原来如此,经常看见一些软件更新还有主题更新后面一串数字原来是这个意思

    建站网6年前 (2013-10-12)回复

themebetter 国内更好的WordPress主题服务商

立即前往