Update hashgen not to inject bin in the path

Having bin/ as a prefix meant the SHASUM command was failing
to find the correct binary path in the curl script and
throwing an error.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd)
2020-11-18 15:32:08 +00:00
parent c783436131
commit a1b8919099
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ jobs:
run: ./build_redist.sh ${{ steps.get_tag.outputs.TAG }}
-
name: Create SHA of binaries
run: ./ci/hashgen.sh
run: cd bin && ../ci/hashgen.sh
-
name: Upload binaries and their SHA to Github Release
uses: alexellis/upload-assets@0.2.2

View File

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