DTP Base provides a scalable and secure Node.js application development harness ready for production service.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
250 B

#!/bin/bash
if [ -z "$1" ]
then
echo "Must specify the release type: major, minor, patch"
exit;
fi
git checkout develop
npm version $1
git push origin develop
git checkout master
git pull . develop
git push origin master
git checkout develop