Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I recently added a few npm scripts to help making the release process go smoother. Unfortunately, they caused a little bit of confusion because some folks were still trying to use the built-in `npm version` command instead of the new `npm run version:foo` scripts. I poked around npm documentation a bit and discovered that we can set things up so that `npm version` does what we want. The magic is done by moving the command flag to avoid the automatic creation of the git tag out of the script and into a .npmrc file. The result of this is now `npm version major|minor|patch` will manage the full release process for you.
- Loading branch information
Showing
3 changed files
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
git-tag-version=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters