I think it will be nice to mention how can we increase the version of the package. Normally i would do npm version patch , but since it is doing automatic commit and tag i'm not sure how it should be integrated in the release process. Otherwise we have to manually tag and change package.json right?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Hi @sularome , you can pass --no-git-tag-version to avoid the automatic commit and tag. If you do want the commit and tag, a simple git push afterward may be sufficient. I guess it really depends on the workflow you want. Here is the npm version docs, and here is what one of our team members created/uses for simple scenarios: https://mitchdenny.com/git2semver/. Let me know if this helps
I believe that the version increase should happen on vsts, not manually, so i do want npm version patch to commit, but we have for example the following workflow:
P.S: When it comes to the link that you sent about git2semver, we are using in the project which has also nice versioning tool Conventional commits
+1 here, my team is hosting an npm package in an Artifacts feed and it'd be nice to not have to do all of the versioning manually
This issue hasn't been updated in more than 180 days, so we've closed it. If you feel the issue is still relevant and needs fixed, please reopen it and we'll take another look. We appreciate your feedback and apologize for any inconvenience.
Most helpful comment
I believe that the version increase should happen on vsts, not manually, so i do want npm version patch to commit, but we have for example the following workflow:
So i think it will be good to add some information about good practices on how to increase version when working with artifacts.
P.S: When it comes to the link that you sent about git2semver, we are using in the project which has also nice versioning tool Conventional commits