1
0
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:
zu1k 2021-12-17 16:19:51 +08:00
parent da557eda4a
commit 9100a6d2ff
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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)/*