File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,6 @@ if [ -z "${GITHUB_TOKEN}" ]; then
6767 echo " Error: GITHUB_TOKEN environment variable not set. Please set this to a token with package:write permissions to codeql."
6868 exit 1
6969fi
70- if [ -z " ${CODEQL_DIST} " ]; then
71- echo " Error: CODEQL_DIST environment variable not set. Please set this to the path of a codeql distribution."
72- exit 1
73- fi
7470if [ -z " ${GH_TOKEN} " ]; then
7571 echo " Error: GH_TOKEN environment variable not set. Please set this to a token with repo permissions to github/codeml-automodel."
7672 exit 1
@@ -134,27 +130,22 @@ gh extensions install github/gh-codeql
134130
135131pushd " $AUTOMODEL_ROOT "
136132echo Testing automodel queries
137- # "${CODEQL_DIST}/codeql" test run test
138133gh codeql test run test
139134popd
140135
141136pushd " $WORKSPACE_ROOT "
142137echo " Preparing the release"
143- # "${CODEQL_DIST}/codeql" pack release --groups $GRPS -v
144138gh codeql pack release --groups $GRPS -v
145139
146140if [ $DRY_RUN = 1 ]; then
147141 echo " Dry run: not publishing the query pack"
148- # "${CODEQL_DIST}/codeql" pack publish --groups $GRPS --dry-run -v
149142 gh codeql pack publish --groups $GRPS --dry-run -v
150143else
151144 echo " Not a dry run! Publishing the query pack"
152- # "${CODEQL_DIST}/codeql" pack publish --groups $GRPS -v
153145 gh codeql pack publish --groups $GRPS -v
154146fi
155147
156148echo " Bumping versions"
157- # "${CODEQL_DIST}/codeql" pack post-release --groups $GRPS -v
158149gh codeql pack post-release --groups $GRPS -v
159150popd
160151
You can’t perform that action at this time.
0 commit comments