#!/bin/bash

if [ -z "$1" ]
then
  echo "Must specify the remote release target (origin, etc.)"
  exit;
fi

git checkout develop
git push "$1" develop

git checkout master
git pull . develop
git push "$1" master

git checkout develop
