better comment

This commit is contained in:
Ian Wright
2024-01-03 15:34:58 +00:00
parent e4a798e9cc
commit fb44b9c7dd

View File

@@ -52,8 +52,10 @@ if [ -z "${1:-}" ]; then
exit 1
fi
echo "Updating to latest automodel release: $TAG_NAME"
# Before downloading, delete any existing release.zip, and ignore failure if not present
rm release.zip || true
gh release download $TAG_NAME -A zip -O release.zip --repo 'https://github.com/github/codeml-automodel'
# Before unzipping, delete any existing release directory, and ignore failure if not present
rm -rf release || true
unzip -o release.zip -d release
REVISION=$(jq -r '.["codeql-sha"]' release/codeml-automodel*/codeml-automodel-release.json)