Skip to content

Commit a1b8919

Browse files
committed
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) <[email protected]>
1 parent c783436 commit a1b8919

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
run: ./build_redist.sh ${{ steps.get_tag.outputs.TAG }}
8989
-
9090
name: Create SHA of binaries
91-
run: ./ci/hashgen.sh
91+
run: cd bin && ../ci/hashgen.sh
9292
-
9393
name: Upload binaries and their SHA to Github Release
9494
uses: alexellis/[email protected]

ci/hashgen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22

3-
for f in bin/faas-cli*; do shasum -a 256 $f > $f.sha256; done
3+
for f in faas-cli*; do shasum -a 256 $f > $f.sha256; done

0 commit comments

Comments
 (0)