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:
@@ -5,6 +5,8 @@ if [ "$WORKSPACE" == "" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
VERSION=`cat flightgear/version`
|
||||||
|
|
||||||
#####################################################################################
|
#####################################################################################
|
||||||
# remove old and create fresh build directories
|
# remove old and create fresh build directories
|
||||||
rm -rf sgBuild
|
rm -rf sgBuild
|
||||||
@@ -53,3 +55,14 @@ make install
|
|||||||
make package_source
|
make package_source
|
||||||
cp flightgear-*.tar.bz2 ../output/.
|
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/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user