From 888895c3bfcb786930320c85dc4589bbb9af85ec Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Sun, 28 Jul 2019 23:00:43 -0400 Subject: Release hash make target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 757e47b8..b639861a 100644 --- a/Makefile +++ b/Makefile @@ -11,5 +11,10 @@ test: --hunk-style plain \ | ansifilter | cut -c 2-)" +hash: + @version=$$(grep version Cargo.toml | head -n1 | sed -E 's,.*version = "([^"]+)",\1,') && \ + 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 -) + chronologer: chronologer performance/chronologer.yaml -- cgit v1.2.3