Add script to do part of release process. Will expand next time I get annoyed
with doing the same things over and over again. git-svn-id: http://svn.openlayers.org/trunk/openlayers@1515 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
14
tools/release.sh
Executable file
14
tools/release.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
VERSION=$1
|
||||
echo "Building OpenLayers $VERSION"
|
||||
svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION
|
||||
cd OpenLayers-$VERSION/build
|
||||
./build.sh
|
||||
mkdir /www/openlayers/htdocs/api/$VERSION
|
||||
cp OpenLayers.js /www/openlayers/htdocs/api/$VERSION
|
||||
cd ..
|
||||
cp -a img/ /www/openlayers/htdocs/api/$VERSION
|
||||
rm tools/*.pyc
|
||||
cd ..
|
||||
tar -zvcf OpenLayers-$VERSION.tar.gz OpenLayers-$VERSION
|
||||
cp OpenLayers-$VERSION.tar.gz /www/openlayers/htdocs/download/
|
||||
Reference in New Issue
Block a user