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:
2
.github/workflows/publish.yaml
vendored
2
.github/workflows/publish.yaml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user