- fixed null pointer access in opensync's HasMultipleVEvents()
[barry.git] / maintainer / release.sh
blob041d712e56a6002552c1defd35f93e54e2b9bf20
1 #!/bin/sh
3 if [ -z "$1" -o -z "$2" ] ; then
4 echo
5 echo "Usage: ./release.sh MAJOR MINOR HEAD"
6 echo
7 echo "Set the environment var CVSROOT to use a different repository."
8 echo "Set CVSREP to a different directory if needed."
9 echo
10 echo "Creates the release tarball from CVS sources, tests the compile"
11 echo "on local machine, fedora4, fedora5, fedora6."
12 echo
13 exit 1
16 set -e
18 # Create the tarball
19 ./make-release-tar.sh $1 $2 $3
21 # Make sure it compiles cleanly on all handy systems
22 # Local first...
23 ./test-build-local.sh build/barry-$1.$2.tar.gz
25 # Then as root, for the chroot systems...
26 su - -c "cd $(pwd) && ./release-root.sh $1 $2"