]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
mappingsupport: don't include lightmaps and levelshots from official map builds
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 4 Jun 2023 06:43:06 +0000 (16:43 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sun, 4 Jun 2023 06:43:06 +0000 (16:43 +1000)
misc/tools/all/release.subr

index 4dc5ed1d31aad50be42e15761cd63656bdf7f80a..fb21b4126120557fe03bc66536d725420eab0085 100644 (file)
@@ -403,6 +403,8 @@ case "$cmd" in
                release_common
                dir=$1
                verbose cd "$dir"
+               # don't include lightmaps and levelshots from official map builds
+               rm -rf maps
                # remove stuff radiant has no use for
                verbose find . -name \*_norm.\* -exec rm -f {} \;
                verbose find . -name \*_bump.\* -exec rm -f {} \;