From 2ec70f176d7b1ecdb04100aa06ed8c9d3617f114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=85=E8=BF=9B=E8=B6=85?= Date: Thu, 3 Mar 2022 10:52:03 +0800 Subject: [PATCH] chore(Makefile): update release and clean command --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6f28d41..eedfded 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ lint: clean .PHONY: clean clean: - rm -rf apache_apisix.egg-info dist build assets .coverage report.html + rm -rf apache_apisix.egg-info dist build assets .coverage report.html release find . -name "__pycache__" -exec rm -r {} + find . -name ".pytest_cache" -exec rm -r {} + find . -name "*.pyc" -exec rm -r {} + @@ -56,7 +56,8 @@ dev: .PHONY: release release: - tar -zcvf $(RELEASE_SRC).tgz apisix docs tests *.md LICENSE Makefile NOTICE pytest.ini requirements.txt setup.py + tar -zcvf $(RELEASE_SRC).tgz apisix bin docs tests conf setup.py *.md \ + LICENSE Makefile NOTICE pytest.ini requirements.txt gpg --batch --yes --armor --detach-sig $(RELEASE_SRC).tgz shasum -a 512 $(RELEASE_SRC).tgz > $(RELEASE_SRC).tgz.sha512 mkdir -p release