mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
Update synthesis with pending versioning changes by TerminX that have been running
without problems for a while. git-svn-id: https://svn.eduke32.com/eduke32@1940 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
38879d58ab
commit
0e727f01d3
1 changed files with 6 additions and 2 deletions
|
@ -43,7 +43,7 @@ cd $top
|
||||||
head=`svn update | tail -n1 | awk '{ print $NF }' | cut -d. -f1`
|
head=`svn update | tail -n1 | awk '{ print $NF }' | cut -d. -f1`
|
||||||
echo "HEAD is revision $head."
|
echo "HEAD is revision $head."
|
||||||
|
|
||||||
lastrevision=`ls -A1 $output | tail -n1 | cut -d- -f2`
|
lastrevision=`ls -A1 $output/????????-???? | tail -n1 | cut -d- -f2 | cut -d. -f1`
|
||||||
|
|
||||||
# if the output dir is empty, we build no matter what
|
# if the output dir is empty, we build no matter what
|
||||||
if [ ! $lastrevision ]
|
if [ ! $lastrevision ]
|
||||||
|
@ -75,6 +75,7 @@ then
|
||||||
|
|
||||||
# throw the svn revision into a header. this is ugly.
|
# throw the svn revision into a header. this is ugly.
|
||||||
echo "const char *s_buildRev = \"r$head\";" > source/rev.h
|
echo "const char *s_buildRev = \"r$head\";" > source/rev.h
|
||||||
|
|
||||||
# clean the tree and build debug first
|
# clean the tree and build debug first
|
||||||
echo "${make[@]}" RELEASE=0 $clean all
|
echo "${make[@]}" RELEASE=0 $clean all
|
||||||
"${make[@]}" RELEASE=0 $clean all
|
"${make[@]}" RELEASE=0 $clean all
|
||||||
|
@ -118,7 +119,7 @@ then
|
||||||
# package the binary snapshot
|
# package the binary snapshot
|
||||||
echo zip -9 $output/$date-$head/${basename}_${platform}_$date-$head.zip ${bin_packaged[@]}
|
echo zip -9 $output/$date-$head/${basename}_${platform}_$date-$head.zip ${bin_packaged[@]}
|
||||||
zip -9 $output/$date-$head/${basename}_${platform}_$date-$head.zip ${bin_packaged[@]}
|
zip -9 $output/$date-$head/${basename}_${platform}_$date-$head.zip ${bin_packaged[@]}
|
||||||
|
|
||||||
# hack to restore [e]obj/keep.me
|
# hack to restore [e]obj/keep.me
|
||||||
echo svn update -r $head
|
echo svn update -r $head
|
||||||
svn update -r $head
|
svn update -r $head
|
||||||
|
@ -152,6 +153,9 @@ then
|
||||||
chmod -R g+w $output/$date-$head
|
chmod -R g+w $output/$date-$head
|
||||||
chown -R :$group $output/$date-$head
|
chown -R :$group $output/$date-$head
|
||||||
|
|
||||||
|
# link eduke32_latest.zip to the new archive
|
||||||
|
ln -sf $output/$date-$head/${basename}_${platform}_$date-$head.zip $output/eduke32_latest.zip
|
||||||
|
|
||||||
rm -r $lockfile
|
rm -r $lockfile
|
||||||
else
|
else
|
||||||
echo "Nothing to do."
|
echo "Nothing to do."
|
||||||
|
|
Loading…
Reference in a new issue