Last active
December 5, 2016 08:34
-
-
Save dchapkine/3b5c444052ace67052210ea4c18cb069 to your computer and use it in GitHub Desktop.
push new npm version
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
# assuming our last package version is v1.0.0 | |
# this will increment the package.json version, and commit change | |
# it's equivalent to git tag v1.0.1, update manualy package.json and git add package.json && git commit -m "bump version" | |
npm version patch | |
# then we need to push it into our repo | |
git push v1.0.1 | |
# then publish the package | |
npm publish | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment