Blob Blame History Raw
#!/bin/sh
rel=$1
tag=`echo $rel | sed -e 's/\./_/g'`
echo $tag
mkdir -p temp
pushd temp
rm -rf autotools
git clone git://git.eclipse.org/gitroot/linuxtools/org.eclipse.linuxtools.git autotools
pushd autotools
git checkout -b local-branch $tag
pushd autotools
git rm -r org.eclipse.linuxtools.cdt.autotools.tests
git rm -r org.eclipse.linuxtools.cdt.autotools.ui.tests
git commit -m"Removing only in this branch"
popd
git archive --format=tar HEAD:autotools | gzip >eclipse-cdt-fetched-src-autotools-$tag.tar.gz
cp eclipse-cdt-fetched-src-autotools-$tag.tar.gz ../..
popd
popd