Create SHASUMS

Closes: #111

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd)
2020-09-22 09:21:25 +01:00
parent 3ce724512b
commit 6c48911412
2 changed files with 9 additions and 0 deletions

View File

@ -15,6 +15,9 @@ script:
- make prepare-test
- make test-e2e
before_deploy:
- ./hack/hashgen.sh
deploy:
provider: releases
api_key:
@ -23,6 +26,9 @@ deploy:
- ./bin/faasd
- ./bin/faasd-armhf
- ./bin/faasd-arm64
- ./bin/faasd.sha256
- ./bin/faasd-armhf.sha256
- ./bin/faasd-arm64.sha256
skip_cleanup: true
on:
tags: true

3
hack/hashgen.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
for f in bin/faasd*; do shasum -a 256 $f > $f.sha256; done