You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/12/03 12:52:56 UTC

[GitHub] [skywalking-cli] wu-sheng commented on a change in pull request #19: Add release script

wu-sheng commented on a change in pull request #19: Add release script
URL: https://github.com/apache/skywalking-cli/pull/19#discussion_r353160191
 
 

 ##########
 File path: Makefile
 ##########
 @@ -79,5 +82,29 @@ coverage: test
 .PHONY: clean
 clean:
 	$(GO_CLEAN) ./...
-	-rm -rf ./bin
+	-rm -rf bin
 	-rm -rf coverage.txt
+	-rm -rf *.tgz
+	-rm -rf *.tgz
+	-rm -rf *.asc
+	-rm -rf *.sha512
+
+release-src: clean
+	-tar -zcvf $(RELEASE_SRC).tgz \
+	--exclude bin \
+	--exclude .git \
+	--exclude .idea \
+	--exclude .DS_Store \
+	--exclude .github \
+	--exclude $(RELEASE_SRC).tgz \
 
 Review comment:
   Do we need any tips about this is only working in MacOS? Because AFAIK, `--exclude` is only working on MacOS. :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services