We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a798e commit fb44b9cCopy full SHA for fb44b9c
java/ql/automodel/publish.sh
@@ -52,8 +52,10 @@ if [ -z "${1:-}" ]; then
52
exit 1
53
fi
54
echo "Updating to latest automodel release: $TAG_NAME"
55
+ # Before downloading, delete any existing release.zip, and ignore failure if not present
56
rm release.zip || true
57
gh release download $TAG_NAME -A zip -O release.zip --repo 'https://github.com/github/codeml-automodel'
58
+ # Before unzipping, delete any existing release directory, and ignore failure if not present
59
rm -rf release || true
60
unzip -o release.zip -d release
61
REVISION=$(jq -r '.["codeql-sha"]' release/codeml-automodel*/codeml-automodel-release.json)
0 commit comments