4 # NOTE: This is rather specific to my setup :)
6 REL_DOT=`grep 'ACESS_VERSION =' Makefile.Version.cfg | sed -r 's/.*([0-9]+\.[0-9]+).*/\1/'`
7 REL=`echo $REL_DOT | sed -r 's/\.//g'`
9 _RELDIR=/home/http/www/Downloads/Acess2/
11 ./MakeReleaseSet x86 smp
12 ./MakeReleaseSet x86_64
13 ./MakeReleaseSet armv7 realview_pb
14 ./MakeReleaseSet armv7 tegra2
16 rm -f Releases/*_armv7-*.img.gz
17 for f in Releases/*.gz; do
18 newname=${f/latest/$REL}
21 cp Releases/* ${_RELDIR}
23 if [[ $# -lt 2 ]] || [[ "$1" != "-n" ]]; then
24 git archive --format=tar --prefix=Acess2/ HEAD | gzip > ${_RELDIR}Acess2_git.tar.gz
29 cp Acess2_git.tar.gz Acess2_${REL}.tar.gz
30 rm Acess2.img.gz; ln -s Acess2_${REL}_x86.img.gz Acess2.img.gz
31 rm Acess2.tar.gz; ln -s Acess2_${REL}.tar.gz Acess2.tar.gz