Signed-off-by: crueter <crueter@eden-emu.dev>
@ -1,5 +1,8 @@
#!/bin/sh -e
# SPDX-FileCopyrightText: 2025 crueter
# SPDX-License-Identifier: GPL-3.0-or-later
FILES=$(find . src -maxdepth 3 -name cpmfile.json)
for file in $FILES; do
# usage: hash.sh repo tag-or-sha
# env vars: GIT_HOST, USE_TAG (use tag instead of sha), ARTIFACT (download artifact with that name instead of src archive)
@ -1,4 +1,7 @@
#!/bin/sh
SUM=$(wget -q $1 -O - | sha512sum)
echo "$SUM" | cut -d " " -f1
# check which file a package is in
JSON=$(find . src -maxdepth 3 -name cpmfile.json -exec grep -l "$1" {} \;)