Skip to content

Commit

Permalink
Add sha256sum for release
Browse files Browse the repository at this point in the history
Signed-off-by: zu1k <[email protected]>
  • Loading branch information
zu1k committed Dec 17, 2021
1 parent 0824aba commit c970940
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
env:
NAME: nali
BINDIR: bin
run: make -j releases
run: make -j releases && make sha256sum

- name: Upload Release
uses: softprops/action-gh-release@v1
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,9 @@ $(zip_releases): %.zip : %
all-arch: $(PLATFORM_LIST) $(WINDOWS_ARCH_LIST)

releases: $(gz_releases) $(zip_releases)

sha256sum:
cd $(BINDIR); for file in *; do sha256sum $$file > $$file.sha256; done

clean:
rm $(BINDIR)/*

0 comments on commit c970940

Please sign in to comment.