Skip to content

Commit

Permalink
fix: use whitelist to include files
Browse files Browse the repository at this point in the history
  • Loading branch information
spacewander committed Feb 6, 2021
1 parent bf94033 commit 63f779a
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -226,24 +226,15 @@ endif

release-src:
tar -zcvf $(RELEASE_SRC).tgz \
--exclude .github \
--exclude .git \
--exclude .gitattributes \
--exclude .idea \
--exclude .travis \
--exclude .gitignore \
--exclude .DS_Store \
--exclude benchmark \
--exclude doc \
--exclude kubernetes \
--exclude logos \
--exclude deps \
--exclude logs \
--exclude t \
--exclude utils \
--exclude release \
--exclude $(RELEASE_SRC).tgz \
.
./apisix \
./bin \
./conf \
./doc \
./rockspec \
LICENSE \
Makefile \
NOTICE \
*.md

gpg --batch --yes --armor --detach-sig $(RELEASE_SRC).tgz
shasum -a 512 $(RELEASE_SRC).tgz > $(RELEASE_SRC).tgz.sha512
Expand Down

0 comments on commit 63f779a

Please sign in to comment.