This is an automated email from the ASF dual-hosted git repository. kezhenxu94 pushed a commit to branch chore/makefile-release in repository https://gitbox.apache.org/repos/asf/skywalking-eyes.git
commit 87de583f2dccdf2c4545051a83c35c5aaca6d8b4 Author: kezhenxu94 <[email protected]> AuthorDate: Thu Oct 14 10:19:41 2021 +0800 chore: fix wrong file path and exclude binary files in src release --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b274e06..31321c7 100644 --- a/Makefile +++ b/Makefile @@ -88,6 +88,7 @@ verify: clean license lint test verify-docs release-src: clean -tar -zcvf $(RELEASE_SRC).tgz \ + --exclude $(RELEASE_SRC).tgz \ --exclude bin \ --exclude .git \ --exclude .idea \ @@ -95,6 +96,7 @@ release-src: clean --exclude .github \ --exclude $(RELEASE_SRC).tgz \ --exclude query-protocol/schema.graphqls \ + --exclude *.jar \ . release-bin: build @@ -102,8 +104,8 @@ release-bin: build -cp -R bin $(RELEASE_BIN) -cp -R dist/* $(RELEASE_BIN) -cp -R CHANGES.md $(RELEASE_BIN) - -cp -R README.adoc $(RELEASE_BIN) - -cp -R ../NOTICE $(RELEASE_BIN) + -cp -R README.md $(RELEASE_BIN) + -cp -R NOTICE $(RELEASE_BIN) -tar -zcvf $(RELEASE_BIN).tgz $(RELEASE_BIN) -rm -rf "$(RELEASE_BIN)"
