This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git
The following commit(s) were added to refs/heads/master by this push:
new 9172b4f makefile update
new aa66e88 Merge pull request #34 from innerpeacez/makefile
9172b4f is described below
commit 9172b4fa1ec6542f0409f582990a8ddd00b8bcdb
Author: innerpeacez
AuthorDate: Wed Dec 18 21:38:27 2019 +0800
makefile update
---
Makefile | 27 +++
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
index 8fe65be..28dfa54 100644
--- a/Makefile
+++ b/Makefile
@@ -21,18 +21,29 @@ CHART_NAME = skywalking-${VERSION}
RELEASE_SRC = skywalking-kubernetes-${VERSION}-src
-package:
-$(shell helm package ${CHART_DIR})
+prepare:
+ cp -R NOTICE ${CHART_DIR}/NOTICE
+ cp -R LICENSE ${CHART_DIR}/LICENSE
+
+package: prepare
+ helm dep up ${CHART_DIR}
+ helm package ${CHART_DIR}
+ rm -rf ${CHART_DIR}/NOTICE
+ rm -rf ${CHART_DIR}/LICENSE
clean:
- -rm -rf bin/ \
- -rm -rf ${CHART_NAME}.tgz \
- -rm -rf ${RELEASE_SRC}.tgz \
- -rm -rf ${RELEASE_SRC}.tgz.asc \
- -rm -rf ${RELEASE_SRC}.tgz.sha512
+ rm -rf bin/ \
+ rm -rf ${CHART_DIR}/NOTICE \
+ rm -rf ${CHART_DIR}/LICENSE \
+ rm -rf ${CHART_NAME}.tgz \
+ rm -rf ${CHART_NAME}.tgz.asc \
+ rm -rf ${CHART_NAME}.tgz.sha512 \
+ rm -rf ${RELEASE_SRC}.tgz \
+ rm -rf ${RELEASE_SRC}.tgz.asc \
+ rm -rf ${RELEASE_SRC}.tgz.sha512
release-src: package
- -tar -zcvf $(RELEASE_SRC).tgz \
+ tar -zcvf $(RELEASE_SRC).tgz \
--exclude bin \
--exclude .git \
--exclude .idea \