Browse Source

feat: release check script

master
Dnomd343 2 years ago
parent
commit
533cf31f7a
  1. 8
      src/m.wxsy.net/check.sh

8
src/m.wxsy.net/check.sh

@ -0,0 +1,8 @@
#!/usr/bin/env bash
cd `dirname $0`
diff <(xz -cdk ./archive/catalog.json.xz | jq .) <(cat ./data/catalog.json | jq .)
diff <(cd ./data/html/ && sha1sum * | sort -u) <(cat ./archive/html.sha1sum | sort -u)
diff <(cd ./data/json/ && sha1sum * | sort -u) <(cat ./archive/json.sha1sum | sort -u)
diff <(xz -cdk ./archive/xxrs.json.xz | jq .) <(cat ./data/xxrs.json | jq .)
Loading…
Cancel
Save