Ticket #247: dist-tahoe.sh

File dist-tahoe.sh, 492 bytes (added by zooko, at 2007-12-31T21:37:17Z)
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
10cp allmydata-tahoe-${V}.tar TMPallmydata-tahoe-${V}.tar
11lrzip -M allmydata-tahoe-${V}.tar
12cp TMPallmydata-tahoe-${V}.tar allmydata-tahoe-${V}.tar
13gzip -9 allmydata-tahoe-${V}.tar
14time scp allmydata-tahoe-${V}.tar.* zooko@allmydata.org:/var/www/source/tahoe
15