I am starting to get into versions/releases more now with Git and wanted to know if the structure I am doing now is correct.
Right now, there is typically a few feature branches. A few commits from those then get merged into the develop branch for review.
After that I merge them into the master and the package.json version gets bumped up depending if it's a major, minor or patch and then a new release is created.
Should the package.json version be getting updated every commit though? or can I do this in stages with commits that I want to push towards a specific version.
Right now this is just a simple project, but I want to know if this is the correct workflow and what other best practices are for proper version numbering in a package/repository.