This file contains hidden or 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
#!/bin/sh | |
# | |
# Publish a new version of an npm package. | |
# | |
# - Runs linter, tests | |
# - Asks if next version is major, minor or patch | |
# - Calculates the next version from this | |
# - Checks that the CHANGELOG references the new version | |
# - Tags/publishes the new version via git/npm |