Skip to content

Commit

Permalink
chore: fix release script so that a version bump level is required
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
clayreimann committed May 25, 2016
1 parent 187d0a4 commit 9d59b28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
# make sure all our dependencies are installed so we can publish docs
npm install

# guard against stupid
if [ -z "$1" ]; then
echo "You must specify a new version level: [patch, minor, major]";
exit 1;
fi

# bump the version
echo "npm version $1"
npm version $1
Expand Down

0 comments on commit 9d59b28

Please sign in to comment.