Revert the way of generating hashsum files(#28)

This commit is contained in:
loyalsoldier 2020-07-03 15:02:06 +08:00
parent d9ffcd313b
commit 54b01cd838
No known key found for this signature in database
GPG Key ID: 23829BBC1ACF2C90

View File

@ -145,7 +145,9 @@ jobs:
install -p $GOPATH/src/$GEOSITE_REPO/data/{proxy,direct,reject}-list.txt ./publish/ install -p $GOPATH/src/$GEOSITE_REPO/data/{proxy,direct,reject}-list.txt ./publish/
cd ./publish cd ./publish
zip rules.zip {proxy,direct,reject}-list.txt geoip.dat geosite.dat zip rules.zip {proxy,direct,reject}-list.txt geoip.dat geosite.dat
sha256sum geoip.dat geosite.dat rules.zip > sha256sum sha256sum geoip.dat > geoip.dat.sha256sum
sha256sum geosite.dat > geosite.dat.sha256sum
sha256sum rules.zip > rules.zip.sha256sum
- name: Release and upload assets - name: Release and upload assets
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1