Browse Source

Don't accept 2nd parameter to specify target remote (just use origin)

develop
Rob Colbert 1 year ago
parent
commit
a6953d97d1
  1. 10
      release

10
release

@ -6,18 +6,12 @@ then
exit; exit;
fi fi
if [ -z "$2" ]
then
echo "Must specify the remote release target (origin, etc.)"
exit;
fi
git checkout develop git checkout develop
npm version $1 npm version $1
git push "$2" develop git push origin develop
git checkout master git checkout master
git pull . develop git pull . develop
git push "$2" master git push origin master
git checkout develop git checkout develop
Loading…
Cancel
Save