new_release script

This script will set up git to use a new branch for new version
development.
This commit is contained in:
Bryan Schumaker 2010-11-04 10:47:41 -04:00
parent 16da9fda2b
commit 26b8ae2fb3
1 changed files with 8 additions and 0 deletions

8
scripts/new_release Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
NAME=$1
echo "Creating new release: $NAME"
git push origin origin:refs/heads/$NAME
git fetch origin
git checkout --track -b $NAME origin/$NAME