3 if [ -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" -o -z "$5" ] ; then
5 echo "Usage: ./release-tar.sh builddir LOGICAL MAJOR MINOR commit"
7 echo "Creates the release tarball from git sources, using the directory"
10 echo "Note: You may wish to direct the output to a file, for"
11 echo " later examination."
13 echo "Example: ./release-tar.sh barrybuild 0 17 0 master"
29 if [ -f $BUILDDIR/barry-
$LOGICAL.
$MAJOR.
$MINOR.
tar.bz2
] ; then
30 echo "Tarball already exists... not creating again."
33 .
/git-release-tar.sh
"$BUILDDIR" $LOGICAL $MAJOR $MINOR $COMMIT
37 echo "release-tar.sh done"