Changeset 4928
- Timestamp:
- 10/12/07 09:30:22 (10 months ago)
- Files:
-
- trunk/openlayers/tools/release.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/tools/release.sh
r3002 r4928 1 1 #!/bin/sh 2 2 3 VERSION=$1 3 echo "Building OpenLayers $VERSION" 4 4 5 svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION 5 6 cd OpenLayers-$VERSION/build 6 7 ./build.py full 8 cp OpenLayers.js .. 9 10 cd .. 11 12 mkdir doc/devdocs 13 mkdir doc/apidocs 14 rm tools/*.pyc 15 7 16 mkdir /www/openlayers/htdocs/api/$VERSION 8 17 cp OpenLayers.js /www/openlayers/htdocs/api/$VERSION 9 cd ..10 18 cp -a img/ /www/openlayers/htdocs/api/$VERSION 11 19 cp -a theme/ /www/openlayers/htdocs/api/$VERSION 12 rm tools/*.pyc 20 13 21 cd .. 14 tar -zvcf OpenLayers-$VERSION.tar.gz OpenLayers-$VERSION 15 zip -9r OpenLayers-$VERSION.zip OpenLayers-$VERSION 16 cp OpenLayers-$VERSION.{tar.gz,zip} /www/openlayers/htdocs/download/ 22 23 ~/nd/NaturalDocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/devdocs -p OpenLayers-$VERSION/doc_config -s Small OL 24 ~/nd/NaturalDocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/apidocs -p OpenLayers-$VERSION/apidoc_config -s Small OL 25 26 tar cvfz OpenLayers-$VERSION.tar.gz OpenLayers-$VERSION/ 27 zip -9r OpenLayers-$VERSION.zip OpenLayers-$VERSION/ 28 29 cp OpenLayers-$VERSION.* /www/openlayers/htdocs/download
