3 if [ -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" ] ; then
5 echo "Usage: ./release.sh LOGICAL MAJOR MINOR commit"
7 echo "Creates the release tarball from git sources, tests the compile"
8 echo "on local machine, fedora4, fedora5, fedora6."
10 echo "Note: You may wish to direct the output to a file, for"
11 echo " later examination."
13 echo "Example: ./release.sh 0 17 0 master"
20 export CHOWNUSER
="$(whoami)"
23 .
/git-release-tar.sh
$1 $2 $3 $4
25 # Build as root first, so all prompts are finished at the start,
26 # for the chroot systems...
27 su
- -c "cd $(pwd) && ./release-root.sh $1 $2 $3 '$CHOWNUSER'"
29 # Build Debian packages in /usr/src/barry-version
30 .
/make-deb-local.sh build
/barry-
$1.
$2.
$3.
tar.bz2
$1 $2 $3 debian