1
0
Fork 0

Extend Linux release script: create base package.

This uses the same tactic as Mac-release; a filtered rsync from the map server's git checkout.
This commit is contained in:
James Turner 2013-02-09 10:34:26 +00:00
parent bd19b4a2bd
commit 20fffd5b2e

View file

@ -5,6 +5,8 @@ if [ "$WORKSPACE" == "" ]; then
exit 1
fi
VERSION=`cat flightgear/version`
#####################################################################################
# remove old and create fresh build directories
rm -rf sgBuild
@ -53,3 +55,14 @@ make install
make package_source
cp flightgear-*.tar.bz2 ../output/.
#####################################################################################
echo "Assembling base package"
cd $WORKSPACE
echo "Syncing base packages files from sphere.telascience.org"
rsync -avz --filter 'merge base-package.rules' \
-e ssh jturner@sphere.telascience.org:/home/jturner/fgdata .
tar cjf output/FlightGear-$VERSION-data.tar.bz fgdata/