Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 059bd826b5
Fetching contributors…

Cannot retrieve contributors at this time

executable file 30 lines (22 sloc) 0.628 kb
#!/bin/bash
DESTDIR=/tmp/dev_dist_vw
echo "Checking out git repo to $DESTDIR"
rm -rf $DESTDIR
git clone git@github.com:JohnLangford/vowpal_wabbit.git $DESTDIR
cd $DESTDIR
sh autogen.sh
VERSION=$(cat vowpalwabbit/config.h | grep PACKAGE_VERSION | cut -d '"' -f 2)
echo Making Distribution for version $VERSION
make dist
FNAME=$(ls vowpal_wabbit-*.tar.gz)
mv $FNAME /tmp
echo "Adding all files for dev distro"
git checkout origin/releases
rm -rf *
mv /tmp/$FNAME .
tar -zxvf $FNAME
rm $FNAME
git add vowpal_wabbit-*
VDATE=$VERSION-$(date +%Y-%m-%d-%H-%M)
git commit -m "added version $VDATE files"
git push origin releases
Jump to Line
Something went wrong with that request. Please try again.