• kennebel@lemmy.world
    link
    fedilink
    arrow-up
    29
    arrow-down
    2
    ·
    3 months ago

    That is 100% up to every team to decide. Version numbering is completely arbitrary.

    • Cirk2@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      3 months ago

      I wish. Sadly the google play store requires monotonically increasing build numbers, so any option of resetting build numbers after major releases goes out the window.

      • maynarkh@feddit.nl
        link
        fedilink
        arrow-up
        3
        ·
        3 months ago

        Do Google engineers get off on writing software that’s only compatible within their own little world, then offering it as some de facto standard?

        Google Cloud had a ton of these that make it arbitrarily hard to use.

  • lysdexic@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    3 months ago

    There are no hard set rules, and it depends on what uses you have for the build number.

    Making it a monotonically increasing number helps with versioning because it’s trivial to figure out which version is newer. Nevertheless, you can also rely on semantic versioning for that. It’s not like all projects are like Windows 10 and half a dozen major versions are pinned at 10.0.

    You sound like you’re focusing on the wrong problem. You first need to figure it what is your versioning strategy,and from there you need to figure out if a build number plays any role on it.

  • MajorHavoc@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    The approach I’ve seen most is using semantic versioning for releases, and having a continuously upward counting (not bothering to reset) build number for everything in between.