1
0
Fork 0
mirror of https://github.com/mitchellh/zig-overlay.git synced 2025-05-08 10:36:02 +03:00

Add verify_and_hash.py

This commit is contained in:
Mitchell Hashimoto 2023-01-17 10:49:17 -08:00
parent 03177b00df
commit 8499170825
No known key found for this signature in database
GPG key ID: 523D5DC389D273BC
4 changed files with 166 additions and 73 deletions

5
update
View file

@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#! nix-shell -p curl jq -i sh
#! nix-shell -p curl jq python3Full -i sh
set -e
# Build our new sources.json
@ -42,3 +42,6 @@ cp sources.json sources.old.json
# Recursive merge
jq -s '.[0] * .[1]' sources.old.json sources.new.json > sources.json
# Verify new release signatures and compute the SHA-256 sum.
python verify_and_hash.py