doipjs/node_modules/license-check-and-add/.travis/after_deploy.sh

17 lines
271 B
Bash
Raw Normal View History

2020-10-23 14:35:53 -06:00
#!/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