Don't wipe all of output/, only data TXZs

Otherwise we wipe source tarballs created by the build script.
This commit is contained in:
Automatic Release Builder
2021-02-17 11:04:57 +00:00
parent b0dab4c22c
commit f2d0c2466a

View File

@@ -24,11 +24,13 @@ cd $WORKSPACE
# wipe directories and re-create
rm -rf output
rm -rf staging
mkdir -p output
mkdir -p staging
# wipe existing data TXZs
rm output/FlightGear-$VERSION*data.txz
rsync -az --exclude=".git" fgdata staging/
# add all the scenery pack files into it