Added a comma after each msgnum exported. The parser was globbing them all together...
[citadel.git] / contrib / push-easyinstall.sh
1 #!/bin/bash
2
3 # This script updates your Easy Install repository from git.
4
5 #export BRANCH=master
6 #export BRANCH=811592051c9c28dfd815d8e36b4006a7b78d6d66
7 export BRANCH=v8.24
8
9 export BASE=`pwd`
10 rm -vfr citadel 2>/dev/null
11 /usr/bin/git clone git://git.citadel.org/appl/gitroot/citadel.git
12 cd $BASE/citadel
13
14 /usr/bin/git checkout $BRANCH
15
16 for module in libcitadel citadel webcit textclient
17 do
18         echo bootstrap of $module starting
19         cd $BASE/citadel/${module}
20         ./bootstrap
21         /usr/bin/git log -1 --pretty=%H . >../${module}-easyinstall.sum
22         cd ..
23         tar cvhzf ${module}-easyinstall.tar.gz \
24                 --exclude .git \
25                 --exclude "tests/testdata" \
26                 --exclude debian \
27                 ${module}
28         mv -vf ${module}-easyinstall.tar.gz .. && mv -vf ${module}-easyinstall.sum ..
29 done
30
31 cd $BASE
32 rm -vfr citadel
33
34 echo Done.