#!/bin/bash branchVersion=`cat package.json | sed 's/,/\n/g' | grep \"version\" | sed 's/:/\n/g' | sed '1d' | sed 's/}//g' | grep -Eo '[0-9]*'`; git checkout -b v$branchVersion && npm run build && git push -u origin $branchVersion && git checkout develop && npm version patch