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
67
67
echo " Error: GITHUB_TOKEN environment variable not set. Please set this to a token with package:write permissions to codeql."
68
68
exit 1
69
69
fi
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
74
70
if [ -z " ${GH_TOKEN} " ]; then
75
71
echo " Error: GH_TOKEN environment variable not set. Please set this to a token with repo permissions to github/codeml-automodel."
76
72
exit 1
@@ -134,27 +130,22 @@ gh extensions install github/gh-codeql
134
130
135
131
pushd " $AUTOMODEL_ROOT "
136
132
echo Testing automodel queries
137
- # "${CODEQL_DIST}/codeql" test run test
138
133
gh codeql test run test
139
134
popd
140
135
141
136
pushd " $WORKSPACE_ROOT "
142
137
echo " Preparing the release"
143
- # "${CODEQL_DIST}/codeql" pack release --groups $GRPS -v
144
138
gh codeql pack release --groups $GRPS -v
145
139
146
140
if [ $DRY_RUN = 1 ]; then
147
141
echo " Dry run: not publishing the query pack"
148
- # "${CODEQL_DIST}/codeql" pack publish --groups $GRPS --dry-run -v
149
142
gh codeql pack publish --groups $GRPS --dry-run -v
150
143
else
151
144
echo " Not a dry run! Publishing the query pack"
152
- # "${CODEQL_DIST}/codeql" pack publish --groups $GRPS -v
153
145
gh codeql pack publish --groups $GRPS -v
154
146
fi
155
147
156
148
echo " Bumping versions"
157
- # "${CODEQL_DIST}/codeql" pack post-release --groups $GRPS -v
158
149
gh codeql pack post-release --groups $GRPS -v
159
150
popd
160
151
You can’t perform that action at this time.
0 commit comments