desktop: added TimeZones parameter to CalendarEditDlg class
[barry/progweb.git] / maintainer / tar-create.sh
blob77db197107824a1ff00ac03a146cdef7fe457852
1 #!/bin/bash
3 if [ -z "$1" -o -z "$2" -o -z "$3" ] ; then
4 echo
5 echo "Usage: ./tar-create.sh LOGICAL MAJOR MINOR"
6 echo
7 echo "LOGICAL is the desired logical version number"
8 echo "MAJOR is the desired libmajor version number"
9 echo "MINOR is the desired libminor version number"
10 echo
11 echo "This script expects a barry-\$LOGICAL.\$MAJOR.\$MINOR directory"
12 echo "to exist in the directory it is run in."
13 echo
14 exit 1
17 DIRNAME="barry-$1.$2.$3"
18 LOGICAL="$1"
19 MAJOR="$2"
20 MINOR="$3"
22 set -e
24 # Create official release tarball
25 tar -cvf - $DIRNAME | bzip2 -9c > barry-$LOGICAL.$MAJOR.$MINOR.tar.bz2