3 # NOTE: This is rather specific to my setup :)
5 REL_DOT=`grep 'ACESS_VERSION =' Makefile.Version.cfg | sed -r 's/.*([0-9]+\.[0-9]+).*/\1/'`
6 REL=`echo $REL_DOT | sed -r 's/\.//g'`
8 _RELDIR=/serenade/http/www/Downloads/Acess2/
10 ./MakeReleaseSet x86 smp
11 ./MakeReleaseSet x86_64
12 ./MakeReleaseSet armv7 tegra2
14 for arch in x86 x86_64 armv7; do
15 cp Releases/Acess2_latest_${arch}-bin.tar.gz ${_RELDIR}Acess2_${REL}_${arch}-bin.tar.gz
16 cp Releases/Acess2_latest_${arch}.img.gz ${_RELDIR}Acess2_${REL}_${arch}.img.gz
19 git archive --format=tar --prefix=Acess2/ HEAD | gzip > ${_RELDIR}Acess2_git.tar.gz
23 cp Acess2_git.tar.gz Acess2_${REL}.tar.gz
24 rm Acess2.img.gz; ln -s Acess2_${REL}_x86.img.gz Acess2.img.gz
25 rm Acess2.tar.gz; ln -s Acess2_${REL}.tar.gz Acess2.tar.gz