Updated tools for releasing.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11998 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
RELEASE=$1
|
||||||
|
|
||||||
|
svn copy -m "Branching for the $RELEASE release" http://svn.openlayers.org/trunk/openlayers http://svn.openlayers.org/branches/openlayers/$RELEASE
|
||||||
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
RELEASE=$1
|
||||||
|
RC=$2
|
||||||
|
|
||||||
|
svn co http://svn.openlayers.org/branches/openlayers/$RELEASE
|
||||||
|
cd $RELEASE
|
||||||
|
sed -i -e "s/OpenLayers.VERSION_NUMBER=.*/OpenLayers.VERSION_NUMBER=\"Release $1-$2\";/" lib/OpenLayers.js
|
||||||
|
sed -i -e "s/VERSION_NUMBER: .*,/VERSION_NUMBER: \"Release $1-$2\",/" lib/OpenLayers/SingleFile.js
|
||||||
|
svn diff;
|
||||||
|
sleep 10;
|
||||||
|
svn ci -m "Updating version numbers for $1-$2".
|
||||||
|
svn cp -m "Tagging the $1-$2 release." http://svn.openlayers.org/branches/openlayers/$1 http://svn.openlayers.org/tags/openlayers/release-$1-$2
|
||||||
+7
-7
@@ -24,17 +24,17 @@ mkdir doc/devdocs
|
|||||||
mkdir doc/apidocs
|
mkdir doc/apidocs
|
||||||
rm tools/*.pyc
|
rm tools/*.pyc
|
||||||
|
|
||||||
mkdir /www/openlayers/htdocs/api/$VERSION
|
mkdir /osgeo/openlayers/docs/api/$VERSION
|
||||||
cp OpenLayers.js /www/openlayers/htdocs/api/$VERSION
|
cp OpenLayers.js /osgeo/openlayers/docs/api/$VERSION
|
||||||
cp -a img/ /www/openlayers/htdocs/api/$VERSION
|
cp -a img/ /osgeo/openlayers/docs/api/$VERSION
|
||||||
cp -a theme/ /www/openlayers/htdocs/api/$VERSION
|
cp -a theme/ /osgeo/openlayers/docs/api/$VERSION
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
~/nd/NaturalDocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/devdocs -p OpenLayers-$VERSION/doc_config -s Small OL
|
naturaldocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/devdocs -p OpenLayers-$VERSION/doc_config -s Small OL
|
||||||
~/nd/NaturalDocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/apidocs -p OpenLayers-$VERSION/apidoc_config -s Small OL
|
naturaldocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/apidocs -p OpenLayers-$VERSION/apidoc_config -s Small OL
|
||||||
|
|
||||||
tar cvfz OpenLayers-$VERSION.tar.gz OpenLayers-$VERSION/
|
tar cvfz OpenLayers-$VERSION.tar.gz OpenLayers-$VERSION/
|
||||||
zip -9r OpenLayers-$VERSION.zip OpenLayers-$VERSION/
|
zip -9r OpenLayers-$VERSION.zip OpenLayers-$VERSION/
|
||||||
|
|
||||||
cp OpenLayers-$VERSION.* /www/openlayers/htdocs/download
|
cp OpenLayers-$VERSION.* /osgeo/openlayers/docs/download
|
||||||
|
|||||||
Reference in New Issue
Block a user