mirror of
https://github.com/dandavison/delta.git
synced 2024-10-05 04:17:21 +03:00
Add release
Make target
This commit is contained in:
parent
98e82439c8
commit
ff08dbb062
3
Makefile
3
Makefile
@ -15,6 +15,9 @@ test:
|
||||
--hunk-style plain \
|
||||
| ansifilter | cut -c 2-)"
|
||||
|
||||
release:
|
||||
cargo publish
|
||||
|
||||
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 -) && \
|
||||
|
Loading…
Reference in New Issue
Block a user