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 27475c599f
commit 53a0c9cc2e

View File

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