Add helper script to print sha/md5 of tar files

During release, there is manual work of generating the sha and md5
values from the built tar. This PR adds the helper script to generate
those in markdown format, so that it easier and less error-prone.
This commit is contained in:
Zhen Wang
2024-05-18 01:05:37 +00:00
parent e4ecee1976
commit 86750df7c2
2 changed files with 52 additions and 2 deletions
+6 -2
View File
@@ -18,7 +18,8 @@
vet fmt version test e2e-test \
build-binaries build-container build-tar build \
docker-builder build-in-docker \
push-container push-tar push release clean depup
push-container push-tar push release clean depup \
print-tar-sha-md5
all: build
@@ -273,7 +274,10 @@ push-tar: build-tar
push: push-container push-tar
# `make release` is used when releasing a new NPD version.
release: push-container build-tar
release: push-container build-tar print-tar-sha-md5
print-tar-sha-md5: build-tar
./hack/print-tar-sha-md5.sh $(VERSION)
coverage.out:
rm -f coverage.out