You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want a basic versioning strategy, this is the approach I use based on GitFlow branching and SemVer 2.0.0:
Merges to master build a release with version major.minor.build, where the major.minor tuple is the current stable release version (generally maintained as a branch-specific variable in your CI tool of choice), so build 3 of release 1.0 would be 1.0.3. This allows you to use merges of post-release bugfix branches back into master to auto-increment the patch number for bugfix releases.
Merges into dev follow a similar pattern as master, except the build version is major.minor.0-branch.build, so pre-release builds are tagged with the non-master branch they came from. Say dev is the active development branch for my next minor release, then I set major.minor to 1.1 for dev, then build 5 of my dev branch would be 1.1.0-dev.5.
The text was updated successfully, but these errors were encountered:
If you want a basic versioning strategy, this is the approach I use based on GitFlow branching and SemVer 2.0.0:
Merges to
master
build a release with versionmajor.minor.build
, where themajor.minor
tuple is the current stable release version (generally maintained as a branch-specific variable in your CI tool of choice), so build 3 of release 1.0 would be1.0.3
. This allows you to use merges of post-release bugfix branches back into master to auto-increment the patch number for bugfix releases.Merges into
dev
follow a similar pattern asmaster
, except the build version ismajor.minor.0-branch.build
, so pre-release builds are tagged with the non-master branch they came from. Saydev
is the active development branch for my next minor release, then I setmajor.minor
to 1.1 fordev
, then build 5 of mydev
branch would be1.1.0-dev.5
.The text was updated successfully, but these errors were encountered: