mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-09 23:10:49 +00:00
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:
parent
3126cec75e
commit
c52b90a0a2
1 changed files with 3 additions and 8 deletions
|
@ -243,9 +243,6 @@ then
|
||||||
echo svn update -r $head
|
echo svn update -r $head
|
||||||
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
|
# export the source tree into the output directory
|
||||||
svn export . $output/$date-$head/${basename}_$date-$head
|
svn export . $output/$date-$head/${basename}_$date-$head
|
||||||
echo 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
|
rm -r ${basename}_$date-$head/$i
|
||||||
done
|
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
|
echo tar cJf ${basename}_src_$date-$head.tar.xz ${basename}_$date-$head
|
||||||
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
|
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
|
# output the changelog since last snapshot in the output directory
|
||||||
if [ $lastrevision ]
|
if [ $lastrevision ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue