From 53a0c9cc2eafeabe209bc3ce910499f189d6d58e Mon Sep 17 00:00:00 2001 From: Automatic Release Builder Date: Wed, 17 Feb 2021 11:04:57 +0000 Subject: [PATCH] Don't wipe all of output/, only data TXZs Otherwise we wipe source tarballs created by the build script. --- release_builder/create_base_package.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/release_builder/create_base_package.sh b/release_builder/create_base_package.sh index aa777e2..60b47d7 100755 --- a/release_builder/create_base_package.sh +++ b/release_builder/create_base_package.sh @@ -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