Make maketarball.sh check out the current tag

This commit is contained in:
David Sansome 2010-03-22 23:11:13 +00:00
parent ed80c2e6c0
commit 2c6a80a2df
1 changed files with 3 additions and 1 deletions

4
dist/maketarball.sh vendored
View File

@ -1,9 +1,11 @@
#!/bin/sh
name=clementine
url=http://clementine-player.googlecode.com/svn/trunk
url=`svn info | grep URL | head -n1 | awk '{print $2}' | sed 's/\/dist//'`
version=`grep Version $name.spec | head -n1 | awk '{print $2}'`
echo "Checking out $url into $name-$version..."
rm -rf $name-$version
svn export $url $name-$version
tar -cvzf $name-$version.tar.gz $name-$version