Move release files to a standard 'output' dir, for ease of uploading / archiving.
This commit is contained in:
+19
-2
@@ -1,6 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd simgear
|
||||
|
||||
pushd simgear
|
||||
|
||||
SG_VERSION=$(cat version)
|
||||
|
||||
./autogen.sh
|
||||
./configure --prefix=$WORKSPACE/dist --with-osg=$WORKSPACE/dist
|
||||
|
||||
@@ -16,7 +20,11 @@ make dist
|
||||
|
||||
echo "Starting on FlightGear"
|
||||
|
||||
cd ../flightgear
|
||||
popd
|
||||
pushd flightgear
|
||||
|
||||
FG_VERSION=$(cat version)
|
||||
|
||||
./autogen.sh
|
||||
./configure --prefix=$WORKSPACE/dist --with-osg=$WORKSPACE/dist
|
||||
make
|
||||
@@ -28,3 +36,12 @@ fi
|
||||
|
||||
make install
|
||||
make dist
|
||||
|
||||
popd
|
||||
|
||||
# create output directory, suitable for archiving / uploading
|
||||
rm -rf output
|
||||
mkdir -p output/${FG_VERSION}
|
||||
mv simgear/simgear_${SG_VERSION}.tar.bz2 output/${FG_VERSION}/
|
||||
mv flightgear/flightgear_${FG_VERSION}.tar.bz2 output/${FG_VERSION}/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user