| 1 |
#!/bin/sh |
| 2 |
revision=${1-HEAD} |
| 3 |
version=`git describe "$revision"` |
| 4 |
prefix=calypso-"$version"/ |
| 5 |
output=calypso-"$version".tar.gz |
| 6 |
git archive --format tgz --prefix "$prefix" --output "$output" $revision |
| 7 |
scp $output keithp.com:/var/www/calypso |