Skip to content

Commit fb44b9c

Browse files
committed
better comment
1 parent e4a798e commit fb44b9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/ql/automodel/publish.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ if [ -z "${1:-}" ]; then
5252
exit 1
5353
fi
5454
echo "Updating to latest automodel release: $TAG_NAME"
55+
# Before downloading, delete any existing release.zip, and ignore failure if not present
5556
rm release.zip || true
5657
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
5759
rm -rf release || true
5860
unzip -o release.zip -d release
5961
REVISION=$(jq -r '.["codeql-sha"]' release/codeml-automodel*/codeml-automodel-release.json)

0 commit comments

Comments
 (0)