#!/bin/bash set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" ME=`basename "$0"` cd $DIR git checkout master VERSION=$(npm --no-git-tag-version version patch) git add --all git commit -s -m "Version bump $VERSION [skip travis]" git push repo master