Bumping version numbers for new releases in associated files (documentation)

前端 未结 3 2062
醉梦人生
醉梦人生 2020-12-31 14:20

I would be interested to in knowing how you out there handle the bumping the version number for new releases issue.

How do you handle the version number in

3条回答
  •  长发绾君心
    2020-12-31 15:06

    We use the classic major.minor.patch system, which gets applied to release candidates as a 'tag', we have a script which tags a commit as the version number, rather than use a git 'tag object'. All the version numbering is done 'by hand'. It works reasonably well, because the version number is created by the 'release onto staging' scripts, which is much later on in the development process. We don't bother using any of the git hooks, because we don't really need to, if a commit isn't leaving the development environment then it doesn't need id other than it's internal SHA code.

    We try to enforce that every 'patch' release must be binary compatible with other versions with the same major,minor tag.

    That way, anything with a tag should at least build, but it's possible or quite likely that it won't work to spec.

    A refinement would be to get the QA department to create a signed tag object on anything that is 'QA approved' but for now we rely on other paperwork for that.

提交回复
热议问题