Reduced minimum password retry level from 6 to 3
[barry/pauldeden.git] / maintainer / release.sh
blob9ba469903eae32526fe9c5a3b4eab07e666f67eb
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 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 # Create the tarball
22 ./make-release-tar.sh $1 $2 $3
24 # Build as root first, so all prompts are finished at the start,
25 # for the chroot systems...
26 su - -c "cd $(pwd) && ./release-root.sh $1 $2"
28 # Build Debian packages in /usr/src/barry-version
29 ./make-deb-local.sh build/barry-$1.$2.tar.bz2 $1 $2 debian