Skip to content

Commit ff989b5

Browse files
committed
feat: Update publish-extractor-pack script to add queries and create release
1 parent 15b283d commit ff989b5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

scripts/publish-extractor-pack.sh

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ if [ "$LATEST_RELEASE" != "$EXTRACTOR_VERSION" ]; then
2020
exit 1
2121
fi
2222

23-
# TODO: Add queries to extractor-pack
24-
# echo "[+] Add queries to extractor-pack"
25-
# codeql pack create --output=./extractor-pack/queries ./ql/src
23+
echo "[+] Add queries to extractor-pack"
24+
codeql pack create --output=./extractor-pack/queries ./ql/src
2625

2726
# bundle extractor
2827
tar czf extractor-$EXTRACTOR_NAME.tar.gz extractor-pack
@@ -31,10 +30,10 @@ if [ "$LATEST_RELEASE" != "$EXTRACTOR_VERSION" ]; then
3130

3231
ls -ls ./extractor-pack/tools
3332

34-
# # create release
35-
# gh release create "v$EXTRACTOR_VERSION" \
36-
# --notes "$EXTRACTOR_NAME Extractor v$EXTRACTOR_VERSION" \
37-
# extractor-$EXTRACTOR_NAME.tar.gz
33+
# create release
34+
gh release create "v$EXTRACTOR_VERSION" \
35+
--notes "$EXTRACTOR_NAME Extractor v$EXTRACTOR_VERSION" \
36+
extractor-$EXTRACTOR_NAME.tar.gz
3837

3938
else
4039
echo "[+] Extractor is up to date"

0 commit comments

Comments
 (0)