3 if [ -z "$1" -o -z "$2" ] ; then
5 echo "Usage: (from inside root of git repo)"
6 echo " maintainer/tagged-release.sh MAJOR MINOR"
8 echo "Creates the release tarball from git sources, tests the compile"
9 echo "on local machine, and available chroots."
11 echo "See the help on git-tagged-release.sh for more detailed info."
13 echo "Note: You may wish to direct the output to a file, for"
14 echo " later examination."
21 echo "WARNING: make sure you have the appropriate libopensync0-dev"
22 echo " installed on the local system, for the local deb build."
26 maintainer
/git-tagged-release.sh
$1 $2
28 # Checkout the tag we're building with
29 git checkout barry-
$1.
$2
33 # Build as root first, so all prompts are finished at the start,
34 # for the chroot systems...
35 su
- -c "cd $(pwd) && ./release-root.sh $1 $2"
37 # Build Debian packages in /usr/src/barry-version
38 .
/make-deb-local.sh build
/barry-
$1.
$2.
tar.bz2
$1 $2 debian