Bumped version to 0.17.0 in configure.ac and other related files
[barry.git] / maintainer / tagged-release.sh
blob1244fcd69fb7268fd975bfa4285079c139a4ff1c
1 #!/bin/sh
3 if [ -z "$1" -o -z "$2" -o -z "$3" ] ; then
4 echo
5 echo "Usage: (from inside root of git repo)"
6 echo " maintainer/tagged-release.sh LOGICAL MAJOR MINOR"
7 echo
8 echo "Creates the release tarball from git sources, tests the compile"
9 echo "on local machine, and available chroots."
10 echo
11 echo "See the help on git-tagged-release.sh for more detailed info."
12 echo
13 echo "Note: You may wish to direct the output to a file, for"
14 echo " later examination."
15 echo
16 exit 1
19 set -e
21 echo "WARNING: make sure you have the appropriate libopensync0-dev"
22 echo " installed on the local system, for the local deb build."
23 read
25 # Create the tarball
26 maintainer/git-tagged-release.sh $1 $2 $3
28 # Checkout the tag we're building with
29 git checkout barry-$1.$2.$3
31 cd maintainer
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 $3"
37 # Build Debian packages in /usr/src/barry-version
38 ./make-deb-local.sh build/barry-$1.$2.$3.tar.bz2 $1 $2 $3 debian