#!/bin/sh -x
rm -rf node-v8c
git clone -b canary-base --depth 1 https://github.com/nodejs/node.git node-v8c
( cd node-v8c
  #git co -f canary-base
)
tar cvf - --exclude .git node-v8c | xz -9 >node-v8c-`date '+%Y%m%d'`.tar.xz
rm -rf node-v8c
