feat: remove dev files from tarball

This commit is contained in:
jo 2023-04-06 23:24:03 +02:00 committed by Kyle Robbertze
parent 5e5ec77bfb
commit ec5bad3c26
1 changed files with 17 additions and 6 deletions

View File

@ -29,14 +29,25 @@ tarball: VERSION
cd .. && tar -czf libretime-$(shell cat VERSION | tr -d [:blank:]).tar.gz \ cd .. && tar -czf libretime-$(shell cat VERSION | tr -d [:blank:]).tar.gz \
--owner=root --group=root \ --owner=root --group=root \
--exclude-vcs \ --exclude-vcs \
--exclude .codespellignore \ libretime/analyzer \
--exclude .git* \ libretime/api \
--exclude .pre-commit-config.yaml \ libretime/api-client \
--exclude dev_tools \ libretime/docs \
--exclude jekyll.sh \ libretime/installer \
libretime/legacy \
--exclude legacy/vendor/phing \ --exclude legacy/vendor/phing \
--exclude legacy/vendor/simplepie/simplepie/tests \ --exclude legacy/vendor/simplepie/simplepie/tests \
libretime libretime/playout \
libretime/shared \
libretime/tools \
libretime/worker \
libretime/CHANGELOG.md \
libretime/install \
libretime/LICENSE \
libretime/Makefile \
libretime/README.md \
libretime/SECURITY.md \
libretime/VERSION
mv ../libretime-*.tar.gz . mv ../libretime-*.tar.gz .
# Only clean subdirs # Only clean subdirs