OpenLayers OpenLayers

root/branches/openlayers/2.5/tools/release.sh

Revision 3002, 0.6 kB (checked in by sderle, 2 years ago)

Update release.sh for 2.4.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1 #!/bin/sh
2 VERSION=$1
3 echo "Building OpenLayers $VERSION"
4 svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION
5 cd OpenLayers-$VERSION/build
6 ./build.py full
7 mkdir /www/openlayers/htdocs/api/$VERSION
8 cp OpenLayers.js /www/openlayers/htdocs/api/$VERSION
9 cd ..
10 cp -a img/ /www/openlayers/htdocs/api/$VERSION
11 cp -a theme/ /www/openlayers/htdocs/api/$VERSION
12 rm tools/*.pyc
13 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/
Note: See TracBrowser for help on using the browser.