Replace sha in go for local running.

This commit is contained in:
Alejandro Cabeza Romero 2024-08-20 16:17:34 +02:00
parent 3d12e70dbf
commit 598ab17ba3
No known key found for this signature in database
GPG Key ID: DA3D14AE478030FD
3 changed files with 6 additions and 6 deletions

View File

@ -18,10 +18,10 @@ go-libp2p-${version}.zip:
# This locks the exact contents of the specified version. This lets us use the
# human readable name while still making sure the contents don't change.
version.lock: go-libp2p-${version}.zip
shasum -a 256 go-libp2p-${version}.zip > $@
sha256sum go-libp2p-${version}.zip > $@
verify-checksum: go-libp2p-${version}.zip
shasum -a 256 -c version.lock
sha256sum -c version.lock
.PHONY: clean all verify-checksum

View File

@ -18,10 +18,10 @@ go-libp2p-${version}.zip:
# This locks the exact contents of the specified version. This lets us use the
# human readable name while still making sure the contents don't change.
version.lock: go-libp2p-${version}.zip
shasum -a 256 go-libp2p-${version}.zip > $@
sha256sum go-libp2p-${version}.zip > $@
verify-checksum: go-libp2p-${version}.zip
shasum -a 256 -c version.lock
sha256sum -c version.lock
.PHONY: clean all verify-checksum

View File

@ -18,10 +18,10 @@ go-libp2p-${version}.zip:
# This locks the exact contents of the specified version. This lets us use the
# human readable name while still making sure the contents don't change.
version.lock: go-libp2p-${version}.zip
shasum -a 256 go-libp2p-${version}.zip > $@
sha256sum go-libp2p-${version}.zip > $@
verify-checksum: go-libp2p-${version}.zip
shasum -a 256 -c version.lock
sha256sum -c version.lock
.PHONY: clean all verify-checksum