Blob Blame History Raw
#!/bin/sh

if [ -z "$1" ]
then
  echo "usage: $0 <tag>" 1>&2
  exit 1
fi
rel="$1"
rm -rf org.eclipse.ptp-$rel
cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/tools -z3 export -r $rel -d org.eclipse.ptp-$rel org.eclipse.ptp
find org.eclipse.ptp-$rel -name old -exec rm -rf '{}' +
find org.eclipse.ptp-$rel -name \*.jar | xargs -I'{}' mv '{}' .
tar czf org.eclipse.ptp-$rel.tar.gz org.eclipse.ptp-$rel