From 2122fd3e9343ee0f77e024ad5be4e0051529b037 Mon Sep 17 00:00:00 2001
From: Jens Steidl <Jens.Steidl@slub-dresden.de>
Date: Tue, 23 Nov 2021 16:52:17 +0100
Subject: [PATCH] - exclude additional build files from release

---
 build_release.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build_release.sh b/build_release.sh
index cb0c76b..a11c6d0 100644
--- a/build_release.sh
+++ b/build_release.sh
@@ -14,7 +14,7 @@ mkdir -p "${BUILD_ROOT}"
 rsync -av --exclude='.git'          --exclude='.idea'       --exclude='_Deparsed_XSubs.pm' \
           --exclude='.gitignore'    --exclude='tmp' \       --exclude='*.zip' \
           --exclude="${BUILD_SCRIPT}" --exclude="${BUILD_DIR}/" \
-          --exclude="*.iml" ./ "${BUILD_ROOT}"
+          --exclude="*.iml" ./ "${BUILD_ROOT}" --exclude='build*'
 sed -i "/^#.*FILE:.*/a \
 #\n\
 #      VERSION: ${VERSION}\n\
@@ -25,4 +25,4 @@ if [[ -e "${BUILD_ZIP}" ]]; then
   echo "release archived in file '${BUILD_ZIP}' :)"
 else
   echo "something goes wrong :("
-fi
\ No newline at end of file
+fi
-- 
GitLab