put the snapshot version into GlobalOptions and ci all

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@952 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 03694a3b2e
commit ce5a29deea
  1. 12
      jode/makesnapshot

@ -1,4 +1,15 @@
#!/bin/sh #!/bin/sh
if [ -e GlobalOptions.java ]; then
echo "Please mode to the jode directory first."
exit 1
fi
DATE=`date +"%Y%m%d"`
perl -i -pe's/(snapshot )[0-9]+/${1}'$DATE'/
if /public final static String version/;' GlobalOptions.java
./ci.all
echo '#!/bin/sh' > co.all echo '#!/bin/sh' > co.all
echo co -u jcpp make* COPYING *.html *.java */*.java */*.j >> co.all echo co -u jcpp make* COPYING *.html *.java */*.java */*.j >> co.all
chmod a+x co.all chmod a+x co.all
@ -13,7 +24,6 @@ chmod a+x compile
./compile jikes -g ./compile jikes -g
cd .. cd ..
DATE=`date +"%Y%m%d"`
tar -cvzf jode/snapshot/jode-RCS-$DATE.tar.gz \ tar -cvzf jode/snapshot/jode-RCS-$DATE.tar.gz \
jode/co.all jode/compile jode/RCS jode/*/RCS jode/co.all jode/compile jode/RCS jode/*/RCS

Loading…
Cancel
Save