X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=contrib%2Fpush-easyinstall.sh;fp=contrib%2Fpush-easyinstall.sh;h=e9511fa2e942c9924b8ca0231171bcb18a5d9aa5;hp=0000000000000000000000000000000000000000;hb=d558c9f6ddf418b3f61a09fb84b8ff4ab044c44f;hpb=2dea277848e779e7a923c9b4c8b98414d41abbda diff --git a/contrib/push-easyinstall.sh b/contrib/push-easyinstall.sh new file mode 100644 index 000000000..e9511fa2e --- /dev/null +++ b/contrib/push-easyinstall.sh @@ -0,0 +1,34 @@ +#!/bin/bash + +# This script updates your Easy Install repository from git. + +#export BRANCH=master +#export BRANCH=811592051c9c28dfd815d8e36b4006a7b78d6d66 +export BRANCH=v8.24 + +export BASE=`pwd` +rm -vfr citadel 2>/dev/null +/usr/bin/git clone git://git.citadel.org/appl/gitroot/citadel.git +cd $BASE/citadel + +/usr/bin/git checkout $BRANCH + +for module in libcitadel citadel webcit textclient +do + echo bootstrap of $module starting + cd $BASE/citadel/${module} + ./bootstrap + /usr/bin/git log -1 --pretty=%H . >../${module}-easyinstall.sum + cd .. + tar cvhzf ${module}-easyinstall.tar.gz \ + --exclude .git \ + --exclude "tests/testdata" \ + --exclude debian \ + ${module} + mv -vf ${module}-easyinstall.tar.gz .. && mv -vf ${module}-easyinstall.sum .. +done + +cd $BASE +rm -vfr citadel + +echo Done.