tarball () {
output=$1; shift
+ >"$output"; # avoids rsync seeing that . changed
GZIP='-9v --rsyncable' tar --exclude=\*{~,.tar.gz,.exe} --exclude='#*#' \
--transform='s/^./jarrg/' --exclude={src/build,tmp} "$@" \
-zcf "$output" .
echo "
Revision: $revision
-Install with:
- RSYNC_RSH=ssh rsync -vP $files $pubbase:$pubdir/test/
+Publish as test with:
+ RSYNC_RSH=ssh rsync -vP $files $pubbase:$pubdir/test/
+
+To actually publish a release, on $pubbase:
+ mkdir $revision
+ ln tests/* $revision/.
+ ln -f tests/* .
"