3 # change to the home directory so we can find our files.
6 TEMPO_FILE="$(mktemp "$TMP/zz_feistypack.XXXXXX")"
7 # specify where we keep the file until we're ready to move it.
9 # shortcut for the lengthy exclude parameter.
10 export XC='--exclude='
12 # zip up hoople2, but exclude the file names we never want to see.
13 tar -czf $TEMPO_FILE feisty_meow $XC"*/*.tar.gz" $XC"*/*.zip" $XC"*/waste/*" $XC"*/logs/*" $XC"*/binaries/*" $XC"*/.git/*"
15 date_string="$(date +"%Y_%b_%e_%H%M" | sed -e 's/ //g')"
17 # now move the newest version into its resting place. this prepares the
18 # feisty_meow package for uploading.
19 mv -v $TEMPO_FILE $WEB_DIR/feistymeow.org/releases/feisty_meow_codebase_${date_string}.tar.gz