forked from Mirrors/doipjs
16 lines
271 B
Bash
Executable file
16 lines
271 B
Bash
Executable file
#!/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
|