-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Assume default semver config and we have two branches: master and develop
master current version is 1.0.0 and develop is a copy of the master branch.
Example 1:
- In develop, commit
feat:and merge develop into master via PR. - In master, run
releaseVersionwhich will release 1.1.0. - Merge master into develop via PR.
- In develop, commit
fix:and runprintVersionwhich will show 1.2.0.
In step 4, shouldn't the version print out 1.1.1?
Example 2:
- In develop, commit
feat!:and merge develop into master via PR. - In master, run
releaseVersionwhich will release 2.0.0. - Merge master into develop via PR.
- In develop, commit
fix:and runprintVersionwhich will show 3.0.0.
In step 4, shouldn't the version print out 2.0.1?
Metadata
Metadata
Assignees
Labels
No labels