Merge pull request #190 from cloudskiff/add_build_checksums

Add build checksums
main
Elie 2021-02-03 13:02:00 +01:00 committed by GitHub
commit 60b772051c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -77,3 +77,9 @@ gox \
-ldflags "${LD_FLAGS}" \ -ldflags "${LD_FLAGS}" \
-output "bin/driftctl_{{.OS}}_{{.Arch}}" \ -output "bin/driftctl_{{.OS}}_{{.Arch}}" \
./ ./
if [ $ENV = "release" ]; then
echo "+ Computing checksums"
cd bin
sha256sum * > driftctl_SHA256SUMS
fi