mirror of
https://github.com/zu1k/nali.git
synced 2025-01-22 21:29:02 +08:00
Add sha256sum for release
Signed-off-by: zu1k <i@lgf.im>
This commit is contained in:
parent
da557eda4a
commit
9100a6d2ff
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NAME: nali
|
NAME: nali
|
||||||
BINDIR: bin
|
BINDIR: bin
|
||||||
run: make -j releases
|
run: make -j releases && make sha256sum
|
||||||
|
|
||||||
- name: Upload Release
|
- name: Upload Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
4
Makefile
4
Makefile
@ -100,5 +100,9 @@ $(zip_releases): %.zip : %
|
|||||||
all-arch: $(PLATFORM_LIST) $(WINDOWS_ARCH_LIST)
|
all-arch: $(PLATFORM_LIST) $(WINDOWS_ARCH_LIST)
|
||||||
|
|
||||||
releases: $(gz_releases) $(zip_releases)
|
releases: $(gz_releases) $(zip_releases)
|
||||||
|
|
||||||
|
sha256sum:
|
||||||
|
cd $(BINDIR); for file in *; do sha256sum $$file > $$file.sha256; done
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm $(BINDIR)/*
|
rm $(BINDIR)/*
|
||||||
|
Loading…
Reference in New Issue
Block a user