synthesis.sh: Make use of the EDUKE32_REVISION file when packaging tarballs.

git-svn-id: https://svn.eduke32.com/eduke32@5549 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-01-12 10:30:36 +00:00
parent 3126cec75e
commit c52b90a0a2
1 changed files with 3 additions and 8 deletions

View File

@ -243,9 +243,6 @@ then
echo svn update -r $head
svn update -r $head
# throw the svn revision into a header.
echo "s_buildRev = \"r$head\";" > source/rev.h
# export the source tree into the output directory
svn export . $output/$date-$head/${basename}_$date-$head
echo svn export . $output/$date-$head/${basename}_$date-$head
@ -259,15 +256,13 @@ then
rm -r ${basename}_$date-$head/$i
done
# throw the svn revision into a file the Makefile will read
echo "$head" > EDUKE32_REVISION
echo tar cJf ${basename}_src_$date-$head.tar.xz ${basename}_$date-$head
tar cJf ${basename}_src_$date-$head.tar.xz ${basename}_$date-$head
rm -r ${basename}_$date-$head
# clean up the revision header
cd $top/$source
echo svn revert "source/rev.h"
svn revert "source/rev.h"
# output the changelog since last snapshot in the output directory
if [ $lastrevision ]
then