summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2019-12-04 16:33:46 -0500
committerDan Davison <dandavison7@gmail.com>2019-12-05 10:21:01 -0500
commitd90060f8d2a668546fe267d35f41c9d4d904240a (patch)
tree7ee9e81dd5bddd7a23aae0f7d56b4ad2d17713df /Makefile
parent716c37f219f78b8021284773fece528a1e8cd918 (diff)
Output hash of source tar.gz
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e3843292..332ad635 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,7 @@ release:
hash:
@version=$$(grep version Cargo.toml | head -n1 | sed -E 's,.*version = "([^"]+)",\1,') && \
+ printf "$$version-tar.gz %s\n" $$(curl -sL https://github.com/dandavison/delta/archive/$$version.tar.gz | sha256sum -) && \
printf "delta-$$version-x86_64-apple-darwin.tar.gz %s\n" $$(curl -sL https://github.com/dandavison/delta/releases/download/$$version/delta-$$version-x86_64-apple-darwin.tar.gz | sha256sum -) && \
printf "delta-$$version-x86_64-unknown-linux-musl.tar.gz %s\n" $$(curl -sL https://github.com/dandavison/delta/releases/download/$$version/delta-$$version-x86_64-unknown-linux-musl.tar.gz | sha256sum -)