You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2023/05/16 10:28:57 UTC

[skywalking-grafana-plugins] branch main updated: build: update release file (#13)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-grafana-plugins.git


The following commit(s) were added to refs/heads/main by this push:
     new d3764e6  build: update release file (#13)
d3764e6 is described below

commit d3764e63cafdc49ececb663acca1622b21516525
Author: Fine0830 <fa...@gmail.com>
AuthorDate: Tue May 16 18:28:52 2023 +0800

    build: update release file (#13)
---
 Makefile | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile
index c5436cd..3033aea 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ endif
 
 .PHONY: release-src
 release-src:
-	tar -zcvf $(RELEASE_SRC).tgz \
+	tar -zcvf $(RELEASE_SRC).zip \
 	--exclude .git/ \
 	--exclude .idea/ \
 	--exclude .gitignore \
@@ -36,16 +36,18 @@ release-src:
 	--exclude lib \
 	--exclude node_modules \
 	--exclude release \
-	--exclude $(RELEASE_SRC).tgz \
+	--exclude $(RELEASE_SRC).zip \
 	.
 
-	gpg $(GPG_UID_FLAG) --batch --yes --armor --detach-sig $(RELEASE_SRC).tgz
-	shasum -a 512 $(RELEASE_SRC).tgz > $(RELEASE_SRC).tgz.sha512
+	gpg $(GPG_UID_FLAG) --batch --yes --armor --detach-sig $(RELEASE_SRC).zip
+	shasum -a 1 $(RELEASE_SRC).zip > $(RELEASE_SRC).zip.sha1
+	shasum -a 512 $(RELEASE_SRC).zip > $(RELEASE_SRC).zip.sha512
 
 	mkdir -p release
-	mv $(RELEASE_SRC).tgz release/$(RELEASE_SRC).tgz
-	mv $(RELEASE_SRC).tgz.asc release/$(RELEASE_SRC).tgz.asc
-	mv $(RELEASE_SRC).tgz.sha512 release/$(RELEASE_SRC).tgz.sha512
+	mv $(RELEASE_SRC).zip release/$(RELEASE_SRC).zip
+	mv $(RELEASE_SRC).zip.asc release/$(RELEASE_SRC).zip.asc
+	mv $(RELEASE_SRC).zip.sha1 release/$(RELEASE_SRC).zip.sha1
+	mv $(RELEASE_SRC).zip.sha512 release/$(RELEASE_SRC).zip.sha512
 
 .PHONY: install
 install: