Ticket #247: dist-tahoe.2.sh

File dist-tahoe.2.sh, 574 bytes (added by zooko, at 2008-01-04T18:25:38Z)

new dist-tahoe.sh

Line 
1#!/bin/sh
2
3make make-version &&
4V=`grep "^verstr" src/allmydata/_version.py | cut -d\" -f2` &&
5./setup.py sdist &&
6cd dist &&
7gunzip allmydata-tahoe-${V}.tar.gz &&
8bzip2 -k allmydata-tahoe-${V}.tar
9rzip -k -9 allmydata-tahoe-${V}.tar
107z a allmydata-tahoe-${V}.tar.7z allmydata-tahoe-${V}.tar
11cp allmydata-tahoe-${V}.tar TMPallmydata-tahoe-${V}.tar
12lrzip -M allmydata-tahoe-${V}.tar
13cp TMPallmydata-tahoe-${V}.tar allmydata-tahoe-${V}.tar
14gzip -9 allmydata-tahoe-${V}.tar
15time rsync --partial --progress allmydata-tahoe-${V}.tar.* zooko@allmydata.org:/var/www/source/tahoe/
16